Frictional Games Forum (read-only)

Full Version: Disable lantern
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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: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.