Simplest would probably be to loop through the object list, find OBJECT::TRIGGERSCENERY objects (with whatever other filters you need, like only ones in a certain area or whatever), and obj.lightType = (obj.curFrame == 0) ? LIGHT::NONE : LIGHT::FLICKER; After first setting the intensity, something like jjObjectPresets[OBJECT::TRIGGERSCENERY].light = jjObjectPresets[OBJECT::FLICKERLIGHT].light;
__________________
|