Ceiling_CrushAndRaiseA
196:Ceiling_CrushAndRaiseA (tag, dspeed, uspeed, crush [,crushmode])
- tag: Tag of affected sector
- dspeed: How quickly the ceiling moves down
- uspeed: How quickly the ceiling moves back up
- crush: Amount of damage to apply
- crushmode: Sets the crushing mode
Usage
Lowers and raises the ceiling of the affected sectors continually, applying crushing damage to anything underneath it. If tag is 0, then the sector on the line's back side is used.
Examples
script 42 (void) { //Crusher that quickly falls, instantly kills any //player not using invincibility and then slowly rises back up Ceiling_CrushAndRaiseA(29, 48, 2, 300); }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.