From ZDoom Wiki
Jump to navigation Jump to search

42:Ceiling_CrushAndRaise (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


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. The ceiling will rise at half the speed at which it lowers. If you want more control over how the ceiling raises, use Ceiling_CrushAndRaiseA.


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.