Ceiling_CrushAndRaise

From ZDoom Wiki

Jump to: navigation, 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 (development version only)

Usage

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.

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.

Personal tools