Ceiling_LowerInstant — instantly lowers selected ceilings a specified amount.
Ceiling_LowerInstant (tag, unused, height);
Ceiling_LowerInstant ( tag, // tag of affected sector(s) unused, // unused 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.
If you want to instantly move a ceiling some distance that is not a multiple of eight, you can use Ceiling_LowerByValue with a speed equal to eight times the height:
Ceiling_LowerByValue (1, 160, 20);
The following will instantly lower the ceilings in all sectors tagged 1 by 32 units. 4 is used as the height because when you divide 32 by 8, the result is 4.
Ceiling_LowerInstant (1, 0, 4);
This is equivalent to the following Ceiling_LowerByValue call:
Ceiling_LowerByValue (1, 256, 32);
ZDoom 1.16
Ceiling Specials | Ceiling_LowerByValue | Ceiling_LowerByValueTimes8