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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need Help with a Look at Area callback =/
Roenlond Offline
Senior Member

Posts: 331
Threads: 3
Joined: Apr 2011
Reputation: 0
#2
RE: Need Help with a Look at Area callback =/

A script area can be used as an entity, so

void SetEntityPlayerLookAtCallback("ScriptArea_1", "FunctionName", true);
{
}

will work Smile On the function you want to call, be sure to use the bold part:

void FunctionName(string &in entity, int alState)
{
DoStuff();
}
(This post was last modified: 05-03-2011, 11:02 AM by Roenlond.)
05-03-2011, 11:00 AM
Find


Messages In This Thread
RE: Need Help with a Look at Area callback =/ - by Roenlond - 05-03-2011, 11:00 AM



Users browsing this thread: 1 Guest(s)