Ceiling_RaiseInstant — instantly raises selected ceilings a specified amount.
Ceiling_RaiseInstant (tag, unused, height);
Ceiling_RaiseInstant ( tag, // tag of affected sector(s) unused, // unused height // how far to raise the ceiling );
This special's function is the same whether you activate it on a line or use it in a script.
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_RaiseByValue with a speed equal to eight times the height:
Ceiling_RaiseByValue (1, 160, 20);
The following will instantly raise 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_RaiseInstant (1, 0, 4);
This is equivalent to the following Ceiling_RaiseByValue call:
Ceiling_RaiseByValue (1, 256, 32);
ZDoom 1.16
Ceiling Specials | Ceiling_RaiseByValue | Ceiling_RaiseByValueTimes8