Lighting specials

110:Light_RaiseByValue (tag, value)

tag
Tag of affected sector
value
Amount to raise the light by

Increases the light level in a sector by value.

111:Light_LowerByValue (tag, value)

tag
Tag of affected sector
value
Amount to lower the light by

Decreases the light level in a sector by value.

112:Light_ChangeToValue (tag, value)

tag
Tag of affected sector
value
New light level

Sets the light level in a sector to value.

113:Light_Fade (tag, value, tics)

tag
Tag of affected sector
value
New light level
tics
How long the light takes to fade to the new level

Changes the light level in a sector gradually over a period of time until it reaches value.

114:Light_Glow (tag, upper, lower, tics)

tag
Tag of affected sector
upper
Upper light level
lower
Lower light level
tics
How long to change between two light levels

Continuously fades the light level in a sector between upper and lower.

115:Light_Flicker (tag, upper, lower)

tag
Tag of affected sector
upper
Upper light level
lower
Lower light level

Switches the light level in a sector between upper and lower at random intervals between approximately 0.2 and 1.8 seconds.

116:Light_Strobe (tag, upper, lower, u-tics, l-tics)

tag
Tag of affected sector
upper
Upper light level
lower
Lower light level
u-tics
Time to stay at upper light level
l-tics
Time to stay at lower light level

Switches the light level in a sector between upper and lower at the given intervals.

232:Light_StrobeDoom (tag, u-tics, l-tics)

tag
Tag of affected sector
u-tics
Time to stay at upper light level
l-tics
Time to stay at lower light level

The is the same as Light_Strobe except that upper is whatever the sector's light level is right now, and lower is whatever the lowest light level in the surrounding sectors is. If the surrounding sectors are at the same light level as the affected sector, then lower is 0.

233:Light_MinNeighbor (tag)

tag
Tag of affected sector

Sets the light level of a sector to match the lowest light level found in one of its neighboring sectors.

234:Light_MaxNeighbor (tag)

tag
Tag of affected sector

Sets the light level of a sector to match the highest light level found in one of its neighboring sectors.