Specials for stairs

26:Stairs_BuildDown (tag, speed, height, delay, reset)

tag
Tag of first sector in staircase
speed
How quickly the steps lower
height
Height of each step
delay
Number of tics the staircase waits between steps
reset
Tics until the stairs return to their original heights (0 if never)

Builds a staircase in sectors marked with the Stairs_Specials.

27:Stairs_BuildUp (tag, speed, height, delay, reset)

tag
Tag of first sector in staircase
speed
How quickly the steps rise
height
Height of each step
delay
Number of tics the staircase waits between steps
reset
Tics until the stairs return to their original heights (0 if never)

Builds a staircase in sectors marked with the Stairs_Specials.

31:Stairs_BuildDownSync (tag, speed, height, reset)

tag
Tag of first sector in staircase
speed
How quickly the first step lower
height
Height of each step
reset
Tics until the stairs return to their original heights (0 if never)

Builds a staircase in sectors marked with the Stairs_Specials. Each step moves at a different speed so that they all reach their destination heights at the same time.

32:Stairs_BuildUpSync (tag, speed, height, reset)

tag
Tag of first sector in staircase
speed
How quickly the first step raise
height
Height of each step
reset
Tics until the stairs return to their original heights (0 if never)

Builds a staircase in sectors marked with the Stairs_Specials. Each step moves at a different speed so that they all reach their destination heights at the same time.

217:Stairs_BuildUpDoom (tag, speed, height, delay, reset)

tag
Tag of first sector in staircase
speed
How quickly the steps rise
height
Height of each step
delay
Number of tics the staircase waits between steps
reset
Tics until the stairs return to their original heights (0 if never)

Builds a staircase. The sectors that make up the staircase are determined using the normal Doom mechanism.

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.