Template:I BreakableBrush: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Merged with Template:I Breakable.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
; <code>EnableDamageForces</code>
No parameters. In fact, this template is {{tl2|I Breakable|prop{{=}}0|brush{{=}}1}}.
; <code>DisableDamageForces</code>
 
: Whether damaging the entity applies physics forces to it.
 
{{I Breakable}}
{{ {{PAGENAME}} }}
{{I Parentname}}
 
<onlyinclude><includeonly>{{I Breakable|prop=0|brush=1}}</includeonly></onlyinclude>
 
[[Category:Input Templates|BreakableProp]]

Latest revision as of 20:12, 25 April 2022

No parameters. In fact, this template is {{I Breakable|prop=0|brush=1}}.


BreakableBrush:

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.
SetMass <float>
Damaging the entity applies physics forces to it.