Ceiling_CrushRaiseAndStay

From ZDoom Wiki
Revision as of 23:09, 9 June 2009 by Hirogen2 (talk | contribs) (wiki style)
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.