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
Disable lantern
NorK Offline
Junior Member

Posts: 12
Threads: 3
Joined: Dec 2008
Reputation: 0
#1
Disable lantern

its just a little question but....


SetLanternDisabled(bool abX); should it be true?

not sure what it means by abX...can any1 tell me what that means.

and...timer funktion... if i not put in timer function how long will it be disabled?
12-17-2010, 12:47 PM
Find
DIGI Byte Offline
Senior Member

Posts: 376
Threads: 20
Joined: Dec 2010
Reputation: 1
#2
RE: Disable lantern

I believe bool is as in boolean which is a true or false statment, but I dont think that will disable the lantern itself, I could be wrong
12-17-2010, 12:54 PM
Find
wally Offline
Junior Member

Posts: 28
Threads: 2
Joined: Mar 2010
Reputation: 0
#3
RE: Disable lantern

(12-17-2010, 12:47 PM)NorK Wrote: its just a little question but....


SetLanternDisabled(bool abX); should it be true?
If you want to disable the lantern, then you would set this to true.
(12-17-2010, 12:47 PM)NorK Wrote: not sure what it means by abX...can any1 tell me what that means.
abX is a variable. If you don't know what a variable is I recommend some googling.
(12-17-2010, 12:47 PM)NorK Wrote: and...timer funktion... if i not put in timer function how long will it be disabled?
If you put in a timer function, I believe it will wait a certain amount of time and then fire off a trigger, making something happen. For example you could set a timer that would fire after 15 seconds, and disable the lantern.
(This post was last modified: 12-18-2010, 05:10 AM by wally.)
12-18-2010, 05:10 AM
Find




Users browsing this thread: 2 Guest(s)