Door_CloseWaitOpen

From ZDoom Wiki
Jump to navigation Jump to 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.

Examples

Nuvolachalk.png 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 Door_CloseWaitOpen:

Type Conversion Trigger
MiniDoomLogoIcon.pngDoom 16:W1 Door Close + Open Door_CloseWaitOpen (tag, 16, 240) Player Cross
MiniDoomLogoIcon.pngDoom 76:WR Door Close + Open Door_CloseWaitOpen (tag, 16, 240) Player Cross, Repeatable
MiniBoomLogoIcon.pngBoom 175:S1 Door Close + Open Door_CloseWaitOpen (tag, 16, 240) Player Use
MiniBoomLogoIcon.pngBoom 196:SR Door Close + Open Door_CloseWaitOpen (tag, 16, 240) Player Use, Repeatable