Ceiling CrushRaiseAndStay: Difference between revisions

From ZDoom Wiki
Jump to navigation Jump to search
(Added crushmode parameter)
mNo edit summary
Line 1: Line 1:
{{underscore|Ceiling_CrushRaiseAndStay}}
{{DISPLAYTITLE:Ceiling_CrushRaiseAndStay}}
'''195:Ceiling_CrushRaiseAndStay (tag, speed, crush [, crushmode])'''
'''195:Ceiling_CrushRaiseAndStay (tag, speed, crush [, crushmode])'''



Revision as of 21:23, 17 July 2008

195: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 (development version only)

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

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.