Template:I BreakableBrush: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
(Merged with Template:I Breakable.)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{I Breakable}}
No parameters. In fact, this template is {{tl2|I Breakable|prop{{=}}0|brush{{=}}1}}.
* {{i parentname}}
 
* '''EnableDamageForces'''
 
: Damaging the entity applies physics forces to it.
{{ {{PAGENAME}} }}
* '''DisableDamageForces'''
 
: Damaging the entity does *not* apply physics forces to it.
<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.