Template:O Button: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (!activator)
m ({{activator}})
Line 1: Line 1:
'''OnDamaged'''
'''OnDamaged'''
: Fired when the button is damaged. Use !activator to target the damage inflictor.
: Fired when the button is damaged. {{activator|damage inflictor}}
* '''OnPressed'''
* '''OnPressed'''
: Fired when the button is pressed. Use !activator to target the activator.
: Fired when the button is pressed. {{activator|activator}}
* '''OnUseLocked'''
* '''OnUseLocked'''
: Fired when the button is used while locked. Use !activator to target the activator.
: Fired when the button is used while locked. {{activator|activator}}
* '''OnIn'''
* '''OnIn'''
: Fired when the button reaches the in/pressed position. Use !activator to target the activator.
: Fired when the button reaches the in/pressed position. {{activator|activator}}
* '''OnOut'''
* '''OnOut'''
: Fired when the button reaches the out/released position. Use !activator to target the activator.
: Fired when the button reaches the out/released position. {{activator|activator}}

Revision as of 19:44, 16 April 2006

OnDamaged

Fired when the button is damaged. (!activator is the damage inflictor)
  • OnPressed
Fired when the button is pressed. (!activator is the activator)
  • OnUseLocked
Fired when the button is used while locked. (!activator is the activator)
  • OnIn
Fired when the button reaches the in/pressed position. (!activator is the activator)
  • OnOut
Fired when the button reaches the out/released position. (!activator is the activator)