LIGHT_SECTOR
Usage:
LIGHT_SECTOR <sector tag> <light change>
Description:
Use this to change the light level of a sector
(or multiple sectors, if they share the same tag).
Details:
<sector tag> is the sector tag in your map editor.
<light change> is the amount to add to the current level. Use a positive number to raise the light level, and a negative number to lower it. The maximum is 255, the minimum is -255.
You can use this command multiple times, for example to change the light level of multiple sectors in a single script. You could also combine it with TAGGED_REPEATABLE for a faded light change instead of an instant change to the desired level.
Example:
This script will slowly darken the starting area on DOOM2's
MAP08 (Tricks and Traps).
START_MAP map08 RADIUS_TRIGGER 0 0 -1 TAGGED_REPEATABLE 255 1T LIGHT_SECTOR 8 -2 END_RADIUS_TRIGGER END_MAP