08-10-2012, 02:39 AM
I've tried this
On the leveleditor: the SpotLight I want to use set on not active
In the script:
void Activate_Area(string &in item)
{
SetEntityActive("Suitor_Scare", true);
SetLightVisible("SpotLight_Shadow", true);
}
(This is after I pick up a key)
Note: The light is also on if I start the map, I didn't even triggered it yet.
Help would be appreciated, I won't doubt you can help cuz you guys always have helped me succefully in the past
On the leveleditor: the SpotLight I want to use set on not active
In the script:
void Activate_Area(string &in item)
{
SetEntityActive("Suitor_Scare", true);
SetLightVisible("SpotLight_Shadow", true);
}
(This is after I pick up a key)
Note: The light is also on if I start the map, I didn't even triggered it yet.
Help would be appreciated, I won't doubt you can help cuz you guys always have helped me succefully in the past