Template:O TFObject

From Valve Developer Community
Revision as of 09:11, 13 April 2021 by Yakibomb (talk | contribs) (Added documentation b/c some outputs don't function.)
Jump to navigation Jump to search
TFObject:
OnDestroyed
Sent when object dies.
OnDamaged
Sent when hurt. Works with !activator. !FGD
OnRepaired
Sent when repaired. !FGD
Icon-Bug.pngBug:Does not function.  [todo tested in ?]
OnDisabled
Sent when disabled. !FGD
Icon-Bug.pngBug:Does not function.  [todo tested in ?]
OnReenabled
Sent when enabled. !FGD
Icon-Bug.pngBug:Does not function.  [todo tested in ?]
OnObjectHealthChanged <integer>
Sends current health as a parameter whenever a change occurs. !FGD