Frictional Games Forum (read-only)
Deactivate light? - 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: Deactivate light? (/thread-15286.html)



Deactivate light? - DeadlockLP - 05-06-2012

Hey,

Why do this:
Code:
SetEntityActive("BoxLight_1",false);
not work?
I want to deactivate a Boxlight.


RE: Deactivate light? - Xanthos - 05-06-2012

You can't do that with lights.
You have to find a "FadeLightTo" Function.

(I will update post when I find that)


RE: Deactivate light? - Adrianis - 05-06-2012

SetLightVisible("BoxLight_1", false);

^ That's the one you want mate