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.
Bug.png Bug: Does not function.
OnDisabled  !FGD
Sent when disabled.
Bug.png Bug: Does not function.
OnReenabled  !FGD
Sent when enabled.
Bug.png Bug: Does not function.
OnObjectHealthChanged <integer> !FGD
Sends current health as a parameter whenever a change occurs.