ZDoom Line Specials

40:Ceiling_LowerByValue

Name

Ceiling_lowerByValue — lowers selected ceilings a specified amount.

Synopsis

Ceiling_LowerByValue (tag, speed, height);
Ceiling_LowerByValue (
  tag,       // tag of affected sector(s)
  speed,     // how quickly the ceiling lowers
  height     // how far to lower the ceiling
);

Parameters

tag
Only sectors with this tag will move their ceilings.
speed
How fast to lower the ceiling.
height
How far to lower the ceiling.

ACS

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

Remarks

If more than one sector matches the specified tag, the sectors will move their ceilings independantly. If a ceiling is blocked in one sector, the other sectors will still be able to move their ceilings.

If tag is zero, then the sector on the back side of the activating line will be used.

Example

The following will lower the ceilings in all sectors tagged 1 by 32 units.

Ceiling_LowerByValue (1, 16, 32);

First Available In

Hexen

See Also

Ceiling Specials | Ceiling_LowerAndCrush | Ceiling_LowerByValueTimes8 | Ceiling_LowerInstant