Template:O Breakable

From Valve Developer Community
Jump to navigation Jump to search
English (en)

This template isn't in line with anything specific in code. Default shows only outputs for brushes.

  • prop=1 shows outputs for props as well. There's nothing brushes have that props don't have.
  • nohl2=1 hides the hl2-specific outputs.

The following is the result with no parameters. See also: {{O BreakableProp}}, {{O BreakableBrush}}.


BreakableBrush:

OnBreak
Fired when this object breaks. !activator is whatever breaks the object.
OnHealthChanged <float>
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.