Template:O Button: Difference between revisions

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

Revision as of 18:54, 16 April 2006

OnDamaged

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