ZDoom Line Specials

234:Light_MaxNeighbor

Name

Light_MaxNeighbor — changes the light level in a sector to match the brightest neighboring sector

Synopsis

Light_MaxNeighbor (tag);
Light_MaxNeighbor (
  tag        // Tag of affected sector
);

Parameters

tag
The tag of the sector or sectors to change the light in.

ACS

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

Remarks

This special instantly changes the light level in each sector matching tag to be the same as the brightest sector connected to it. If there is more than one sector matching tag, then each sector will be treated independantly from the others.

First Available In

ZDoom 1.16

See Also

Light_ChangeToValue | Light_MinNeighbor