Template:O Breakable: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) No edit summary |
TomEdwards (talk | contribs) mNo edit summary |
||
| Line 14: | Line 14: | ||
: Prop has started its <code>ACT_PHYSCANNON_ANIMATE_POST</code> activity (caused by the player letting the prop go from the gravity gun). | : Prop has started its <code>ACT_PHYSCANNON_ANIMATE_POST</code> activity (caused by the player letting the prop go from the gravity gun). | ||
; <code>OnPhysCannonPullAnimFinished</code> | ; <code>OnPhysCannonPullAnimFinished</code> | ||
: Prop has finished all gravity- | : Prop has finished all gravity gun-related animations. | ||
{{O Targetname}} | {{O Targetname}} | ||
}} | }} | ||
Revision as of 03:28, 18 September 2009
Breakable:
OnBreak- Fired when this breakable breaks. (!activator is the breaker)
OnTakeDamage- The breakable has taken damage.
OnHealthChanged <float>- The health of the breakable has changed. Passes the new value as a normalised percentage of max health.
OnPhysCannonDetach- Prop has started its
ACT_PHYSCANNON_DETACHactivity (caused by the gravity gun ripping it from a wall). OnPhysCannonAnimatePreStartedOnPhysCannonAnimatePullStarted- Prop has started its
ACT_PHYSCANNON_ANIMATE_PREorACT_PHYSCANNON_ANIMATEactivities. Both are caused by the player trying to grab the prop with the gravity gun;ANIMATE_PREplays once, thenANIMATEstarts looping. OnPhysCannonAnimatePostStarted- Prop has started its
ACT_PHYSCANNON_ANIMATE_POSTactivity (caused by the player letting the prop go from the gravity gun). OnPhysCannonPullAnimFinished- Prop has finished all gravity gun-related animations.