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
Code help: Trigger when lit
Noj Offline
Junior Member

Posts: 11
Threads: 2
Joined: Oct 2010
Reputation: 0
#5
RE: Code help: Trigger when lit

(10-02-2010, 10:29 PM)The worst submarine Wrote:
(10-02-2010, 10:29 PM)The worst submarine Wrote: Thanks! I'll give it a shot and report back.
Worked like a charm! I think to fix the no-tinderbox problem, I'll have the candle disappear until a player gets a tinderbox, replaced by a candle without the callback function. Once they have one, it'll reappear.

cant you just do a if condition in the script?
scripting fuctions in the documents says theres bool hasitem
you should be able to use that. (I havent started any scripting yet so i acnt answer on how...)
10-02-2010, 11:15 PM
Find


Messages In This Thread
RE: Code help: Trigger when lit - by HakePT - 10-02-2010, 09:38 PM
RE: Code help: Trigger when lit - by Jordo76 - 10-02-2010, 09:46 PM
RE: Code help: Trigger when lit - by Noj - 10-02-2010, 11:15 PM
RE: Code help: Trigger when lit - by Entih - 10-03-2010, 03:19 AM



Users browsing this thread: 1 Guest(s)