Door WaitRaise: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
(Created page with "==Parameterized linedef special== :UDMF id: 105 :ExtraData id: 304 :Parameters: ''tag'', ''speed'', ''delay'', ''topcount'', ''lighttag'' Raises a door after a delay,...") |
No edit summary |
||
Line 1: | Line 1: | ||
105:'''Door_WaitRaise'''(''tag'', ''speed'', ''delay'', ''toptime'', ''lighttag'') | |||
Raises a door after a delay, then closes it after another delay. This behaviour is inspired on the classic Doom sector type where a door is temporarily opened after 5 minutes of gameplay. | Raises a door after a delay, then closes it after another delay. This behaviour is inspired on the classic Doom sector type where a door is temporarily opened after 5 minutes of gameplay. | ||
==Arguments== | |||
*''tag'': tag of sectors to affect. If 0, it affects the sector behind the linedef. | *''tag'': tag of sectors to affect. If 0, it affects the sector behind the linedef. | ||
*''speed'': door speed. 16 is the usual Doom door speed and 64 is the 'turbo' speed. The sound of the door depends on this speed. | *''speed'': door speed. 16 is the usual Doom door speed and 64 is the 'turbo' speed. The sound of the door depends on this speed. | ||
*''delay'': the delay, in tics, since the linedef is triggered and until the door is open. | *''delay'': the delay, in tics, since the linedef is triggered and until the door is open. | ||
*'' | *''toptime'': the delay, in tics, since the door is fully open and until the door gets closed. | ||
*''lighttag'': optional tag of sector to apply Boom door open light effect on. If 0, the effect doesn't happen. | *''lighttag'': optional tag of sector to apply Boom door open light effect on. If 0, the effect doesn't happen. | ||
==See also== | ==See also== | ||
*[[Door_Open]] | *[[Door_Open]] | ||
*[[Door_Raise]] | *[[Door_Raise]] |
Latest revision as of 09:01, 1 May 2018
105:Door_WaitRaise(tag, speed, delay, toptime, lighttag)
Raises a door after a delay, then closes it after another delay. This behaviour is inspired on the classic Doom sector type where a door is temporarily opened after 5 minutes of gameplay.
Arguments[edit]
- tag: tag of sectors to affect. If 0, it affects the sector behind the linedef.
- speed: door speed. 16 is the usual Doom door speed and 64 is the 'turbo' speed. The sound of the door depends on this speed.
- delay: the delay, in tics, since the linedef is triggered and until the door is open.
- toptime: the delay, in tics, since the door is fully open and until the door gets closed.
- lighttag: optional tag of sector to apply Boom door open light effect on. If 0, the effect doesn't happen.