Template:I EmpBuilding: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Include base animating and base entity inputs in this template as well, to make later cleanup easier.)
Line 11: Line 11:
{{IO|SabotageStart|param=void|Mark this building as sabotaged. If the [[activator]] is a player, give them points for it.}}
{{IO|SabotageStart|param=void|Mark this building as sabotaged. If the [[activator]] is a player, give them points for it.}}
{{IO|SabotageEnd|param=void|Mark this building as no longer sabotaged.}}
{{IO|SabotageEnd|param=void|Mark this building as no longer sabotaged.}}
{{I BaseAnimating|tf2=|portal2=}}
{{I BaseEntity|base=1}}

Revision as of 14:33, 11 January 2024

This template is our holder for all inputs that are assigned through EmpBuilding.


EmpBuilding:

SetHealth <integer>
Sets the health of the building, clamped between 0 and the building's maximum health.
Destroy <void>
Set the health of the building to 0.
RecycleStartDuration <integer>
Begin the recycle process, with the countdown set to the given number of seconds.
RecycleCancel <void>
Cancel the recycling process, returning the building to a functional state.
SabotageStart <void>
Mark this building as sabotaged. If the activator is a player, give them points for it.
SabotageEnd <void>
Mark this building as no longer sabotaged.
Note.pngNote:Content moved to Rendering and studio model related KIO/Inputs for continuation of page history