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
Candle's off!
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#9
RE: Candle's off!

(09-20-2010, 08:04 PM)jens Wrote: You should not use SetEntityPlayerInteractCallback for this. Instead use the level editor and enter a callback in the first input field for an entity. If you look at the tool tip you can see it can be used for things like OnPickup, which is what you do in this case.

And when you do this the correct is CookKeyTaken(string &in asEntity, string &in asType)

Sorry, oh mighty Jens. Tongue
I just saw that I used SetEntityCallbackFunc(string& asName, string& asCallback); in my script, which has the same effect as what you described.

09-20-2010, 08:53 PM
Find


Messages In This Thread
Candle's off! - by anzki - 09-20-2010, 05:22 PM
RE: Candle's off! - by Pandemoneus - 09-20-2010, 05:24 PM
RE: Candle's off! - by anzki - 09-20-2010, 05:27 PM
RE: Candle's off! - by Thomas - 09-20-2010, 05:29 PM
RE: Candle's off! - by anzki - 09-20-2010, 05:39 PM
RE: Candle's off! - by Pandemoneus - 09-20-2010, 07:24 PM
RE: Candle's off! - by jens - 09-20-2010, 08:04 PM
RE: Candle's off! - by Pandemoneus - 09-20-2010, 08:53 PM
RE: Candle's off! - by Thomas - 09-20-2010, 08:40 PM
RE: Candle's off! - by anzki - 09-21-2010, 11:40 AM



Users browsing this thread: 1 Guest(s)