Generic_Stairs

From ZDoom Wiki

Jump to: navigation, 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.

Personal tools