Ceiling_CrushRaiseAndStay
Jump to navigation
Jump to search
45:Ceiling_CrushRaiseAndStay (tag, speed, crush [, crushmode])
- tag: Tag of affected sector
- speed: How quickly the ceiling moves
- crush: Amount of damage to apply
- crushmode: Sets the crushing mode
Usage
Lowers the ceiling of the affected and applies crushing damage to anything underneath it, then raises the ceiling back up to its original height. If tag is 0, then the sector on the line's back side is used. The up speed for this special is always half the down speed. If you need more control over the way the crusher moves, you have to use Ceiling_CrushRaiseAndStayA.
Examples
As the ceiling specials are fairly trivial, examples of every one can be found in the example wad, Squash. This wad runs on Map01 of Doom2.