Generic_Lift

From ZDoom Wiki
Revision as of 05:50, 31 May 2015 by Eevee (talk | contribs) (mention "default" delay)
Jump to navigation Jump to search

203:Generic_Lift (tag, speed, delay, type, height)


  • tag: Tag of affected sector
  • speed: Speed of move
  • delay: Octics before reversing direction. Vanilla Doom lifts waited for 3 seconds, or 24 octics.
  • type: Specifies what type of platform this is
  • height: Distance to move if target is 0.

This special encapsulates Boom's generalized lifts. Type can be one of the following values:

Value Target Default sound sequence
0 Plat_UpByValue Platform
1 Plat_DownWaitUpStay Platform
2 Plat_DownToNearestFloor (does not exist as an explicit action special) Platform
3 Plat_DownToLowestCeiling (does not exist as an explicit action special) Platform
4 Plat_PerpetualRaise Floor

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.