Ceiling_CrushRaiseAndStay

From ZDoom Wiki
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

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.