- 1. I have a sector that has a light value of 128, and I have assigned the sector a tag number (in this case it is 198).
2. Within the sector is a SectorLight thing with the following arguments: 160, 160, 160, 32, 2 (R, G, B, radius, scale). It is placed high enough that the glow sufficiently illuminates the ceiling (which has a texture of ceiling lights)
3. At this point the lighting looks fine.
- 1. The player triggers a script
2. The sector with tag number 198 becomes a flickering sector via a line in the script:
Light_Flicker (198, 160, 112);
3. The SectorLight thing should now take on the properties of the flickering light sector, and the dynamic light ought to be flickering synchronously with the flickering sector.
I have altered the RGB values, and set the scale = 1, but these changes do not affect the outcome. I set the RGB values to 0 respectively, in which case there is no dynamic light at all.
Is the SectorLight thing designed not to alter properties mid-game? Or is there another solution for what I want?