Door_CloseWaitOpen

From ZDoom Wiki

Jump to: navigation, search

249:Door_CloseWaitOpen (tag, speed, delay, lighttag)

tag: Tag of affected sector 
speed: How quickly the door moves 
delay: Octics until door opens 
lighttag: Tag of sector to perform a gradual lighting effect in

Closes the specified door, and opens it again after delay octics have passed. If tag is 0, then the sector on the line's back side is used.

If lighttag is non-zero a gradual lighting effect is done in the tagged sectors. The light is gradually changed between the darkest neighboring sector when the door is fully closed and the brightest neighboring sector when the door is fully open.

Personal tools