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
Door Callback Doesnt Work
ferryadams10 Offline
Senior Member

Posts: 288
Threads: 40
Joined: Apr 2011
Reputation: 19
#2
RE: Door Callback Doesnt Work

void OnStart()
{
SetEntityPlayerInteractCallback("Name of the entity (in your case name of the door)", "Function Name", Whether callback gets removed after it has been called could be true or false);
}

void FunctionName(string &in entity)
{
//Put here the things to happen when interacting with the door
}


Kind Regards,
The guy you kicked out of your story build team.Wink
Ferry Adams

Got a nice sofa
Please come and have a seat for a while

06-04-2011, 08:57 PM
Find


Messages In This Thread
Door Callback Doesnt Work - by Henriksen - 06-04-2011, 08:42 PM
RE: Door Callback Doesnt Work - by ferryadams10 - 06-04-2011, 08:57 PM



Users browsing this thread: 1 Guest(s)