Frictional Games Forum (read-only)
[SCRIPT] Turning the Torches off - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] Turning the Torches off (/thread-14546.html)



Turning the Torches off - ObsidianLegion - 04-06-2012

Hey guys! I wanted to ask:

Do any of you guys know the script to deactiviate static torches? It's just -
Spoiler below!

I'm having a long corridor where the torches turn off, two by two, from the other end of the corridor towards the player.

If any of you know how to do this, please help!
Any known and relavant sound effects would be appreciated too.



RE: Turning the Torches off - SilentStriker - 04-06-2012

SetLampLit Smile



RE: Turning the Torches off - JetlinerX - 04-06-2012

SetLampLit ();

SetLampLit("NAME", Bool on/off, Bool Effect?);

NOOOOOOOOOOOOOOOO

I thought I was going to be helpful, but I was too late! D:



RE: Turning the Torches off - ObsidianLegion - 04-06-2012

(04-06-2012, 05:03 PM)JetlinerX Wrote: SetLampLit ();

SetLampLit("NAME", Bool on/off, Bool Effect?);

NOOOOOOOOOOOOOOOO

I thought I was going to be helpful, but I was too late! D:
AWW HELL NAW.
You got ninja'd ;P




RE: Turning the Torches off - JetlinerX - 04-06-2012

[Image: okay-face.jpg]



RE: Turning the Torches off - ObsidianLegion - 04-06-2012

(04-06-2012, 05:14 PM)JetlinerX Wrote: [Image: okay-face.jpg]
It was all good though.
Thanks guys.