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
Callback for when you look at a specific place
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#4
RE: Callback for when you look at a specific place

(08-21-2011, 10:38 PM)Juby Wrote: There is also an option on all of the entities:

"PlayerLookAtCallback"
Put whatever you want in there.

Syntax for the lookat function:

void LookAt(funcname)(string &in asEntity, int alState)
{
}

I dont think the Function name goes in "()" so use this I guess:
void LookAt YourFuncName(string &in asEntity, int alState)

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

08-22-2011, 04:51 AM
Website Find


Messages In This Thread
RE: Callback for when you look at a specific place - by JetlinerX - 08-22-2011, 04:51 AM



Users browsing this thread: 1 Guest(s)