Template:O Door: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(+targetname)
Line 1: Line 1:
{{ScrollBox|title=Door|
{{ScrollBox|title=Door|noscroll=true|
; <code>OnClose</code>
; <code>OnClose</code>
; <code>OnOpen</code>
; <code>OnOpen</code>
Line 14: Line 14:
; <code>OnLockedUse</code>
; <code>OnLockedUse</code>
: Fired when the player uses the door, but it is locked.
: Fired when the player uses the door, but it is locked.
{{O Targetname}}
}}
}}

Revision as of 06:09, 28 August 2009

Door:
OnClose
OnOpen
Fired when the door starts to to open or close.
OnFullyClosed
OnFullyOpen
Fired when the door finishes opening or closing. Reversed if 'Start Open' flag is set.
OnBlockedClosing
OnBlockedOpening
Fired when the door has been blocked from closing or opening. (!activator is the blocking entity)
OnUnblockedClosing
OnUnblockedOpening
Fired when the door is no longer blocked from closing or opening.
OnLockedUse
Fired when the player uses the door, but it is locked.