Template:O TFObject: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(More undocumented outputs)
m (→‎top: Substituted IO templates)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ScrollBox|title=TFObject|
{{ScrollBox|title=TFObject|
{{IO|OnDestroyed|Sent when object dies.}}
{{O|OnDestroyed|Sent when object dies.}}
{{IO|OnDamaged|Sent when hurt.}} {{Not in FGD}}
{{O|OnDamaged|Sent when hurt. Works with [[!activator]].}}
{{IO|OnRepaired|Sent when repaired.}} {{Not in FGD}}
{{O|OnRepaired|Sent when repaired. {{bug|Does not function.}}|nofgd=1}}
{{IO|OnDisabled|Sent when disabled.}} {{Not in FGD}}
{{O|OnDisabled|Sent when disabled. {{bug|Does not function.}}|nofgd=1}}
{{IO|OnReenabled|Sent when enabled.}} {{Not in FGD}}
{{O|OnReenabled|Sent when enabled. {{bug|Does not function.}}|nofgd=1}}
{{IO|OnObjectHealthChanged|Sends current health as a parameter whenever a change occurs.|param=integer}} {{Not in FGD}}
{{O|OnObjectHealthChanged|Sends current health as a parameter whenever a change occurs.|param=integer|nofgd=1}}
}}<noinclude>
}}<noinclude>
[[Category:Output Templates|TFObject]]
[[Category:Output Templates|TFObject]]
</noinclude>
</noinclude>

Latest revision as of 13:12, 21 April 2025

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.