Frictional Games Forum (read-only)
Disable lantern - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Disable lantern (/thread-5766.html)



Disable lantern - NorK - 12-17-2010

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?


RE: Disable lantern - DIGI Byte - 12-17-2010

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


RE: Disable lantern - wally - 12-18-2010

(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.