Template:O TFObject

From Valve Developer Community
Jump to: navigation, search
TFObject:
OnDestroyed
Sent when object dies.
OnDamaged
Sent when hurt. Works with !activator.
OnRepaired  !FGD
Sent when repaired.
Icon-Bug.pngBug:Does not function.  [todo tested in?]
OnDisabled  !FGD
Sent when disabled.
Icon-Bug.pngBug:Does not function.  [todo tested in?]
OnReenabled  !FGD
Sent when enabled.
Icon-Bug.pngBug:Does not function.  [todo tested in?]
OnObjectHealthChanged <integer> !FGD
Sends current health as a parameter whenever a change occurs.