Template:I TFObject

From Valve Developer Community
Revision as of 20:54, 9 May 2011 by Barracuda (talk | contribs) (Created page with '{{ScrollBox|title=TFObject| {{IO|SetHealth|Set the current AND maximum health. Will cause CRASH if set to 0. If object is upgraded health will scale according to new value.|param…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
TFObject:
SetHealth <integer>
Set the current AND maximum health. Will cause CRASH if set to 0. If object is upgraded health will scale according to new value.
AddHealth <integer>
Increase health. Will NOT surpass maximum. Will NOT kill if 0 health is reached using negative values.
RemoveHealth <integer>
Decrease health. Will kill if 0 health is reached.
SetTeam <integer>
Set the team the object is allied to. Does NOT change skin.
skin <integer>
Set the skin the object uses. Useful in conjunction with SetTeam.
SetBuilder