Template:O BreakableBrush: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Redirected page to Template:O Breakable)
(Transcluding Template:O Breakable with prop=0 instead of redirecting to it.)
Tag: Removed redirect
 
Line 1: Line 1:
#redirect [[Template:O Breakable]]
No parameters. In fact, this template is {{tl2|O Breakable|prop{{=}}0}}.
 
 
<onlyinclude>{{O Breakable|prop=0}}</onlyinclude>
 
[[Category:Output Templates]]

Latest revision as of 19:23, 25 April 2022

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


BreakableBrush:

OnBreak
!activator = entity that breaks the object
!caller = this entity
Fired when this object breaks.
OnHealthChanged <float>
!activator = entity that caused the health change
!caller = this entity
Fired whenever the health of the breakable has increased or decreased. This output automatically puts the new health amount as a decimal percent (e.g. 45% = 0.45) into the parameter box for inputs, if the mapper does not override the parameter with something else.