Frictional Games Forum (read-only)
how to deactivate boxlights? - 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: how to deactivate boxlights? (/thread-9532.html)



how to deactivate boxlights? - Dizturbed - 08-01-2011

I would like to know how to shut off a boxlight.. I've tried SetEntityActive, and SetLampLit, but it wont work.. :S
I need help !

-Dizturbed


RE: how to deactivate boxlights? - Kyle - 08-01-2011

SetLightVisible(string& asLightName, bool abVisible);

Enables/disables lights.

asLightName - internal name
abVisible - determines the state of the light




RE: how to deactivate boxlights? - Dizturbed - 08-01-2011

Wow, wrong destination... Sorry :S


RE: how to deactivate boxlights? - Dizturbed - 08-01-2011

Thank you very much