02-25-2013, 11:26 PM
02-25-2013, 11:39 PM
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
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
02-26-2013, 04:13 PM
(02-25-2013, 11:39 PM)Adny Wrote: [ -> ]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
Thanks mate, i searched this one for hours without any outcome.
02-26-2013, 05:19 PM
for all scripts: http://wiki.frictionalgames.com/hpl2/amn..._functions
use ctrl+f or F3 to browse the whole page.
use ctrl+f or F3 to browse the whole page.