Frictional Games Forum (read-only)

Full Version: how to deactivate boxlights?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
SetLightVisible(string& asLightName, bool abVisible);

Enables/disables lights.

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

Wow, wrong destination... Sorry :S
Thank you very much