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
Tinderbox inventory detection or Reset ignite property: I need one!
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#13
RE: Tinderbox inventory detection or Reset ignite property: I need one!

I believe you're looking for "OnIgnite" type? To make sure the player actually ignites a lamp before running your script. I had to utilize this when I scripted multiple lights to fade in after a player lit their corresponding candle/lantern/lamp.

void Ignite(string &in entity, string &in type)
{
if(type == "OnIgnite") //Do stuff
}

10-03-2011, 04:47 AM
Find


Messages In This Thread
RE: Tinderbox inventory detection or Reset ignite property: I need one! - by palistov - 10-03-2011, 04:47 AM



Users browsing this thread: 1 Guest(s)