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
Help scripting an event when looking at an area
Akasu Offline
Member

Posts: 62
Threads: 6
Joined: Aug 2010
Reputation: 2
#2
RE: Help scripting an event when looking at an area

void OnStart ()
{
SetEntityPlayerLookAtCallback("name", "EVENT01", true);
}

void EVENT01 (string &in entity, int alState)
{
(stuff that happens)
}

That should work.
02-11-2011, 11:39 AM
Find


Messages In This Thread
RE: Help scripting an event when looking at an area - by Akasu - 02-11-2011, 11:39 AM



Users browsing this thread: 2 Guest(s)