The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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!
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#1
Tinderbox inventory detection or Reset ignite property: I need one!

So i have a couple of ways of detecting interaction from the player for lamp entities, but one of them allows for triggering the callback even though the user has no tinderboxes, and the other only allows for igniting the object once. If i can get the amount of tinderboxes the user has or if i can somehow reset the object from having its ignition set, then i can have things working as i want them to. I have an alternative method to all of this, but it requires more effort from the player, so i would like to avoid this alternative for now.

I've tried resetting the entity through ResetProp(), but that did not reset its ignition; and i've tried using wildcards in HasItem(), but it keeps returning false.

Tutorials: From Noob to Pro
(This post was last modified: 10-02-2011, 09:34 PM by Your Computer.)
10-02-2011, 09:34 PM
Website Find


Messages In This Thread
Tinderbox inventory detection or Reset ignite property: I need one! - by Your Computer - 10-02-2011, 09:34 PM



Users browsing this thread: 1 Guest(s)