Floor_RaiseAndCrushDoom

From ZDoom Wiki
Jump to navigation Jump to search

99:Floor_RaiseAndCrushDoom (tag, speed, crush [,crushmode])


  • tag: Tag of affected sector
  • speed: How quickly the floor moves
  • crush: Amount of damage to apply
  • crushmode: Sets the crushing mode

Raises the floor to a height of 8 units below the lowest surrounding ceiling and applies crushing damage to anything standing on it. If tag is 0, then the sector on the line's back side is used.

Examples

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 Floor_RaiseAndCrushDoom:

Type Conversion Trigger
Doom 55:S1 Floor To 8 Below LAC + Crush Floor_RaiseAndCrushDoom(tag, 8, 10, 2) Player Use
Doom 56:W1 Floor To 8 Below LAC + Crush Floor_RaiseAndCrushDoom(tag, 8, 10, 2) Player Cross
Doom 65:SR Floor To 8 Below LAC + Crush Floor_RaiseAndCrushDoom(tag, 8, 10, 2) Player Use, Repeatable
Doom 94:WR Floor To 8 Below LAC + Crush Floor_RaiseAndCrushDoom(tag, 8, 10, 2) Player Cross, Repeatable