Activate/deactivate lights - 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: Activate/deactivate lights (/thread-20502.html) |
Activate/deactivate lights - Magzard - 02-25-2013 Hello! Can anyone tell me witch script command do i use to acticate/deactivate lights(Box,point,spot)? Thanks RE: Activate/deactivate lights - Adny - 02-25-2013 The function you're looking for: SetLightVisible(string& asLightName, bool abVisible); asLightName = name of the light abVisible = whether or not its visible (true/false) Example: void function { SetLightVisible("spotlight_1", false); } Hope that helped RE: Activate/deactivate lights - Magzard - 02-26-2013 (02-25-2013, 11:39 PM)Adny Wrote: The function you're looking for: Thanks mate, i searched this one for hours without any outcome. RE: Activate/deactivate lights - tonitoni1998 - 02-26-2013 for all scripts: http://wiki.frictionalgames.com/hpl2/amnesia/script_functions use ctrl+f or F3 to browse the whole page. |