05-31-2016, 02:47 AM
I've placed a light box in my level and when you activate it you see a picture on the wall. Obviously this is done with a spotlight and that all works fine.
There's one problem, though. The spotlight is active and is lit from the beginning, even though it's in-active in the level editor. Is this some kind of bug?
ProjectLight" ACTIVE []
void Projector(string &in asParent, string &in asChild, int alState)
{
SetLightVisible("ProjectLight", true);
PlaySoundAtEntity("ProjectorSound", "OldMovieProjector.snt", "Projector", 1, false);
}
There's one problem, though. The spotlight is active and is lit from the beginning, even though it's in-active in the level editor. Is this some kind of bug?
ProjectLight" ACTIVE []
void Projector(string &in asParent, string &in asChild, int alState)
{
SetLightVisible("ProjectLight", true);
PlaySoundAtEntity("ProjectorSound", "OldMovieProjector.snt", "Projector", 1, false);
}