Generic Stairs: Difference between revisions

From ZDoom Wiki
Jump to navigation Jump to search
Content deleted Content added
No edit summary
(No difference)

Revision as of 14:34, 4 January 2004

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 differences 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.