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
Running a Script When Player Lights Candle On
SonOfLiberty796 Offline
Senior Member

Posts: 371
Threads: 39
Joined: Aug 2011
Reputation: 2
#3
RE: Running a Script When Player Lights Candle On

(05-15-2012, 12:38 AM)FragdaddyXXL Wrote: void SetEntityCallbackFunc(string& asName, string& asCallback);


Calls a function when the player interacts with a certain entity.
Callback syntax: void MyFunc(string &in asEntity, string &in type)
Type depends on entity type and includes: “OnPickup”, “Break”, “OnIgnite”, etc
Ahhhh I thought it was that function! I must of missed the "OnIgnite" part. Thank you very much sir Smile
05-15-2012, 12:43 AM
Find


Messages In This Thread
RE: Running a Script When Player Lights Candle On - by SonOfLiberty796 - 05-15-2012, 12:43 AM



Users browsing this thread: 1 Guest(s)