Generic_Stairs
Jump to navigation
Jump to search
204:Generic_Stairs (tag, speed, height, flags, reset)
- tag: Tag of first sector in staircase
- speed: How quickly the steps move
- height: Height of each step
- flags: controls direction and ignorance of floor textures
- reset: Tics until the stairs return to their original heights (0 if never)
This special encapsulates BOOM's generalized stairs. The sectors of the staircase are determined as they are in BOOM. If bit 0 of flags is set (0x01), the stairs are built up, otherwise they build down. If bit 1 is set (0x02), then the determination of stair sectors ignores different floor textures. If a line activates this special, and the line is marked as repeatable, then the direction the stairs build will alternate between up and down each time the special is activated.
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 Generic_Stairs:
Type | Conversion | Trigger |
---|---|---|
146:S1 Build Stairs 16 Down | Generic_Stairs (tag, 16, 16, 0, 0) | Player Use |
178:W1 Build Stairs 16 Down | Generic_Stairs (tag, 16, 16, 0, 0) | Player Cross |