Template:O Door: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (fixed =)
No edit summary
Line 1: Line 1:
'''OnClose'''
; <code>OnClose</code>
: Fired when the door is told to close. {{activator|opener (sometimes <nowiki>=</nowiki> [[Targetname|!this]])}}
; <code>OnOpen</code>
* '''OnOpen'''
: Fired when the door starts to to open or close.
: Fired when the door is told to open. {{activator|opener (sometimes <nowiki>=</nowiki> [[Targetname|!this]])}}
; <code>OnFullyClosed</code>
* '''OnFullyOpen'''
; <code>OnFullyOpen</code>
: Fired when the door reaches the fully open position. {{activator|user}}
: Fired when the door finishes opening or closing.
* '''OnFullyClosed'''
; <code>OnBlockedClosing</code>
: Fired when the door reaches the fully closed position. {{activator|user}}
; <code>OnBlockedOpening</code>
* '''OnBlockedClosing'''
: Fired when the door has been blocked from closing or opening. {{activator|blocking entity}}
: Fired when the door is blocked while closing. {{activator|blocker}}
; <code>OnUnblockedClosing</code>
* '''OnBlockedOpening'''
; <code>OnUnblockedOpening</code>
: Fired when the door is blocked while opening. {{activator|blocker}}
: Fired when the door is no longer blocked from closing or opening.
* '''OnUnblockedClosing'''
: Fired when the door is unblocked while closing.
* '''OnUnblockedOpening'''
: Fired when the door is unblocked while opening.

Revision as of 13:08, 22 August 2009

OnClose
OnOpen
Fired when the door starts to to open or close.
OnFullyClosed
OnFullyOpen
Fired when the door finishes opening or closing.
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.