Ceiling_LowerAndCrushDist

From ZDoom Wiki
Jump to navigation Jump to search

97:Ceiling_LowerAndCrushDist (tag, speed, crush[, dist [, crushmode]])


  • tag: Tag of affected sector
  • speed: How quickly the ceiling moves
  • crush: Amount of damage to apply
  • dist: Distance above the floor at which the movement will stop
  • crushmode: Sets the crushing mode

Usage

Lowers the ceiling of affected sectors and applies crushing damage to anything under it. If tag is 0, then the sector on the line's back side is used.

This does not lower like other crushing ceilings. The actual height of the ceiling is changing. It will lower until it is dist units off the ground.

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.


Conversions from linedef types

The following Doom map format types can be converted as Ceiling_LowerAndCrushDist:

Type Conversion Trigger
MiniStrifeLogoIcon.pngStrife 44:W1 Crusher To Floor And Stops Ceiling_LowerAndCrushDist(tag, 8, 10) Player Cross
MiniStrifeLogoIcon.pngStrife 72:WR Crusher To Floor And Stops Ceiling_LowerAndCrushDist(tag, 8, 10) Player Cross, Repeatable

See also