Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Player Won't Look At Entity?
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#2
RE: Player Won't Look At Entity?

PHP Code: (Select All)
void OnStart()
{
    
AddEntityCollideCallback("Player""ScriptArea_1""PlrLookAt"true1);
}




void OnEnter()
{

}

void OnLeave()
{
 
}
void PlrLookAt(string &in asParentstring &in asChildint alState)
{
SetPlayerActive(false);
StartPlayerLookAt("oxfordsbed"1.0f1.0f"");
SetMessage("Messages""GetSomeSleep"3);
AddTimer(""4"PlrStahpLookAt");
}
void PlrStahpLookAt(string &in asTimer)
{
 
StopPlayerLookAt();
 
SetPlayerActive(true);


Fixed. Hopefully.

"Veni, vidi, vici."
"I came, I saw, I conquered."
05-04-2013, 01:08 PM
Find


Messages In This Thread
Player Won't Look At Entity? - by FurtherGames - 05-04-2013, 01:04 PM
RE: Player Won't Look At Entity? - by PutraenusAlivius - 05-04-2013, 01:08 PM



Users browsing this thread: 1 Guest(s)