Template:I TFObject: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Undocumented inputs) |
||
Line 3: | Line 3: | ||
{{IO|AddHealth|Increase health. Will NOT surpass maximum. Will NOT kill if 0 health is reached using negative values.|param=integer}} | {{IO|AddHealth|Increase health. Will NOT surpass maximum. Will NOT kill if 0 health is reached using negative values.|param=integer}} | ||
{{IO|RemoveHealth|Decrease health. Will kill if 0 health is reached.|param=integer}} | {{IO|RemoveHealth|Decrease health. Will kill if 0 health is reached.|param=integer}} | ||
{{IO|SetSolidToPlayer|Set the object to be solid or non-solid to players. 0 - non-solid, 1 - solid.|param=bool}} {{Not in FGD}} | |||
{{IO|SetTeam|Set the team the object is allied to. Does NOT change skin.|param=integer}} | {{IO|SetTeam|Set the team the object is allied to. Does NOT change skin.|param=integer}} | ||
{{IO| | {{IO|Skin|Set the skin the object uses. Useful in conjunction with SetTeam.|param=integer}} | ||
{{IO|SetBuilder|Set the builder of the object to the activator.}} | {{IO|SetBuilder|Set the builder of the object to the activator.}} | ||
{{IO|Show|Set the builder of the object to the activator.}} | |||
{{IO|Hide|Makes the building invisible and disables it.}} | |||
{{IO|Enable|Enable the object.}} | |||
{{IO|Disable|Disable the object.}} | |||
}}<noinclude> | }}<noinclude> | ||
[[Category:Input Templates|TFObject]] | [[Category:Input Templates|TFObject]] | ||
</noinclude> | </noinclude> |
Revision as of 14:37, 25 June 2018
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.
- SetSolidToPlayer <boolean>
- Set the object to be solid or non-solid to players. 0 - non-solid, 1 - solid. !FGD
- 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
- Set the builder of the object to the activator.
- Show
- Set the builder of the object to the activator.
- Hide
- Makes the building invisible and disables it.
- Enable
- Enable the object.
- Disable
- Disable the object.