ZDoom Line Specials

113:Light_Fade

Name

Light_Fade — gradually changes the light level in a sector.

Synopsis

Light_Fade (tag, amount, tics);
Light_Fade (
  tag,       // Tag of affected sector
  amount,    // New light level
  tics       // How long to fade the light to its new level
);

Parameters

tag
The tag of the sector or sectors to change the light in.
amount
The new light level to use. Light levels can be no lower than 0 or higher than 255.
tics
The amount of time (in tics) until the light reaches the new level.

ACS

This special's function is the same whether you activate it on a line or use it in a script.

Remarks

This special changes the light level gradually so that the player can see the light level increasing or decreasing. If you want to change the light instantly, you should use Light_ChangeToValue instead.

Examples

First Available In

Hexen

See Also

Light_ChangeToValue | Light_Glow | Light_LowerByValue | Light_RaiseByValue