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
How do I remove callback for oil etc.?
ObsidianLegion Offline
Member

Posts: 173
Threads: 53
Joined: Jun 2011
Reputation: 0
#5
RE: How do I remove callback for oil etc.?

(08-17-2011, 09:02 PM)palistov Wrote: If you want to use a custom tinderbox just use AddUseItemCallback(string& name, string& item, string& entity, string& callback, bool destroy); for both the oil and tinderbox and the script area.

Use a local variable or some other tracking method to make sure the oil has been used, and then you can allow the tinderbox to be used on the oil slick area.

Give it a shot, I'm sure you can get it working Smile

Thanks alot, man (:

So, I just use that Callback and i won't need to bother about removing it's original callbacks?

"Good men mean well; they just don't always end up doing well." -Isaac Clarke, Dead Space 2, Chapter 12
08-17-2011, 09:04 PM
Find


Messages In This Thread
RE: How do I remove callback for oil etc.? - by ObsidianLegion - 08-17-2011, 09:04 PM



Users browsing this thread: 1 Guest(s)