Ceiling CrushRaiseAndStay: Difference between revisions

From ZDoom Wiki
Jump to navigation Jump to search
m (wiki style)
m (Remove <tt> tag)
Line 9: Line 9:
==Usage==
==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 <tt>[[Ceiling_CrushRaiseAndStayA]]</tt>.
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==
==Examples==

Revision as of 04:43, 17 June 2009

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.