Template:I Breakable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Cleanup)
(updates)
Line 1: Line 1:
{{ScrollBox|title=Breakable|
{{minititle|Breakable}}
{{IO|Break|Breaks the breakable.}}
{{IO|Break|Breaks the breakable.}}
{{IO|SetHealth|Sets a new value for the breakable's health. If the breakable's health reaches zero it will break.|param=integer}}
{{IO|SetHealth|param=integer|Sets a new value for the breakable's health. If the breakable's health reaches zero it will break.}}
{{IO|AddHealth|Adds health to the breakable. If the breakable's health reaches zero it will break.|param=integer}}
{{IO|AddHealth|param=integer|Adds health to the breakable.}}
{{IO|RemoveHealth|Removes health from the breakable. If the breakable's health reaches zero it will break.|param=integer}}
{{IO|RemoveHealth|param=integer|Removes health from the breakable.}}<noinclude>[[Category:Input Templates|Breakable]]</noinclude>
{{IO|EnablePhyscannonPickup|Makes the breakable able to picked up by the [[weapon_physcannon|Gravity Gun]].}}
{{IO|DisablePhyscannonPickup|Makes the breakable not able to picked up by the [[weapon_physcannon|Gravity Gun]].}}
{{IO|SetMass|Set mass of this object.|param=float}}
{{I Targetname}}
{{I DamageFilter}}
{{I Shadow}}
{{I Reflection}}
}}<noinclude>
[[Category:Input Templates|Breakable]]
</noinclude>

Revision as of 22:37, 11 September 2018

Breakable:

Break
Breaks the breakable.
SetHealth <integer>
Sets a new value for the breakable's health. If the breakable's health reaches zero it will break.
AddHealth <integer>
Adds health to the breakable.
RemoveHealth <integer>
Removes health from the breakable.