04-08-2012, 11:05 PM
Hey i dont understand what i done wrong here
void void OnStart()
{
AddEntityCollideCallback("Player", "Light_area", "Lights", true, 1);
}
void Lights(string &in asParent, string &in asChild, int alState)
{
SetLightVisible("torch_static01_3", true);
SetLightVisible("torch_static01_4", true);
}
i got the area named right in level editor , the Lights dosnt call :/ any clue
void void OnStart()
{
AddEntityCollideCallback("Player", "Light_area", "Lights", true, 1);
}
void Lights(string &in asParent, string &in asChild, int alState)
{
SetLightVisible("torch_static01_3", true);
SetLightVisible("torch_static01_4", true);
}
i got the area named right in level editor , the Lights dosnt call :/ any clue