Door_CloseWaitOpen
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
![]() |
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 |
---|---|---|
![]() | Door_CloseWaitOpen (tag, 16, 240) | Player Cross |
![]() | Door_CloseWaitOpen (tag, 16, 240) | Player Cross, Repeatable |
![]() | Door_CloseWaitOpen (tag, 16, 240) | Player Use |
![]() | Door_CloseWaitOpen (tag, 16, 240) | Player Use, Repeatable |
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.