ZDoom Line Specials

233:Light_MinNeighbor

Name

Light_MinNeighbor — changes the light level in a sector to match the darkest neighboring sector.

Synopsis

Light_MinNeighbor (tag);
Light_MinNeighbor (
  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 darkest 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_MaxNeighbor