Kyle
Posting Freak
Posts: 911
Threads: 36
Joined: Sep 2010
Reputation:
7
|
RE: Tinderbox inventory detection or Reset ignite property: I need one!
I'm not exactly sure what you're getting at, but I think you could have a global variable integer that increases by every interaction between the player and a tinderbox. So that once the player has a tinderbox, you might be able to set every turned off candle as a static, uninteractible object while having an interaction area that checks if the player has a tinderbox and then add a fire particle effect on the top of the candle. Finally, it should also subtract the global variable by one per interaction between the player and the area. Though it may be some work planning it out across multiple levels, it should do the job right.
|
|
10-02-2011, 09:48 PM |
|