Ceiling_lowerByValue — lowers selected ceilings a specified amount.
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 );
This special's function is the same whether you activate it on a line or use it in a script.
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.
The following will lower the ceilings in all sectors tagged 1 by 32 units.
Ceiling_LowerByValue (1, 16, 32);
Hexen
Ceiling Specials | Ceiling_LowerAndCrush | Ceiling_LowerByValueTimes8 | Ceiling_LowerInstant