Template:O Breakable

From Valve Developer Community
Jump to: navigation, search

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 eliminates the hl2-specific outputs.

Breakable (common):

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.