Template:I BreakableBrush: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Cleanup)
(updates)
Line 1: Line 1:
{{ScrollBox|title=BreakableBrush|
{{minititle|BreakableBrush}}
{{IO|EnableDamageForces|Damaging the entity applies physics forces to it.}}
{{IO|SetMass|param=float|Damaging the entity applies physics forces to it.}}
{{IO|DisableDamageForces|Damaging the entity does '''not''' apply physics forces to it.}}
{{I Breakable}}<noinclude>[[Category:Input Templates|BreakableBrush]]</noinclude>
{{I Breakable}}
{{I Parentname}}
}}<noinclude>
[[Category:Input Templates|BreakableBrush]]
</noinclude>

Revision as of 22:37, 11 September 2018

BreakableBrush:

SetMass <float>
Damaging the entity applies physics forces to it.

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.