Tutorial 2
Spawning monsters |
RTS Online: Tutorial 3
Controlling faded lights |
Tutorial 4
Triggering multiple line types |
This trigger is an advanced used of the sectorl function. Normally you would use this function to instantly raise or lower the light level in a sector, or set of sectors. Combining this with tagged_repeatable, you can raise or lower the light level in increments, creating a faded light effect.
The only thing to be aware of is the light level is only noticeable at increments of about 10 units. So don't waste time trying to get the light super tweaked to change at increments of 1 unit.
In this example we will mess around with DOOM2 MAP01 again, lowering the light level of the start room and triangular stairs to total blackness. Again, the tagged_immediate function is there for completeness, but is not required because of the radiustrigger's radius.
Your code output should look like this:
|