Template:O Button: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (!activator)
m (→‎top: Substituted IO templates)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''OnDamaged'''
{{ScrollBox|title=Button|
: Fired when the button is damaged. Use !activator to target the damage inflictor.
{{O|OnDamaged|Fired when the button is damaged.}}
* '''OnPressed'''
{{O|OnPressed|Fired when the button is pressed.}}
: Fired when the button is pressed. Use !activator to target the activator.
{{O|OnUseLocked|Fired when the button is used while locked.}}
* '''OnUseLocked'''
{{O|OnIn|Fired when the button reaches the in/pressed position.}}
: Fired when the button is used while locked. Use !activator to target the activator.
{{O|OnOut|Fired when the button reaches the out/released position.}}
* '''OnIn'''
}}<noinclude>
: Fired when the button reaches the in/pressed position. Use !activator to target the activator.
[[Category:Output Templates|Button]]
* '''OnOut'''
</noinclude>
: Fired when the button reaches the out/released position. Use !activator to target the activator.

Latest revision as of 13:04, 21 April 2025

Button:
OnDamaged
Fired when the button is damaged.
OnPressed
Fired when the button is pressed.
OnUseLocked
Fired when the button is used while locked.
OnIn
Fired when the button reaches the in/pressed position.
OnOut
Fired when the button reaches the out/released position.