Template:O BreakableProp
Jump to navigation
Jump to search
Add nohl2=1
to hide the OnPhysCannon...
outputs.
BreakableProp:
- 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.
- OnTakeDamage
- Fired when damage is taken.
- OnPhysCannonAnimatePreStarted
- Fired when prop starts its
ACT_PHYSCANNON_ANIMATE_PRE
activity. Caused by the object being picked up by the gravity gun.
- OnPhysCannonAnimatePullStarted
- Fired when prop has started its
ACT_PHYSCANNON_ANIMATE
activity.ACT_PHYSCANNON_ANIMATE_PRE
plays once, thenACT_PHYSCANNON_ANIMATE
starts looping.
- OnPhysCannonDetach
- Fired when prop has started its
ACT_PHYSCANNON_DETACH
activity (caused by the gravity gun ripping it from a wall).
- OnPhysCannonAnimatePostStarted
- Fired when prop has started its
ACT_PHYSCANNON_ANIMATE_POST
activity (caused by the player letting the prop go from the gravity gun).
- OnPhysCannonPullAnimFinished
- Fired when prop has finished all gravity gun-related animations.