Template:O BasePropPhysics: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) No edit summary |
TomEdwards (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{{ScrollBox|title=BasePropPhysics|noscroll=true| | {{ScrollBox|title=BasePropPhysics|noscroll=true| | ||
; <code>OnMotionEnabled</code> | ; <code>OnMotionEnabled</code> | ||
: | : Motion has been enabled on the prop, either via the "Health Level to Override Motion" keyvalue or from the <code>EnableMotion</code> input. | ||
; <code>OnAwakened</code> | ; <code>OnAwakened</code> | ||
: | : The prop has woken (force has been applied to it while it was asleep, or the <code>wake</code> input has been called). | ||
; {{EP1 add|<code>OnPhysGunOnlyPickup</code>}} | ; {{EP1 add|<code>OnPhysGunOnlyPickup</code>}} | ||
: | : Player has picked the prop up with the Gravity Gun. | ||
; {{EP1 add|<code>OnPlayerPickup</code>}} | ; {{EP1 add|<code>OnPlayerPickup</code>}} | ||
: | : Player has picked the prop up with +USE or the Gravity Gun. | ||
; <code>OnPhysGunDrop</code> | ; <code>OnPhysGunDrop</code> | ||
: | : Player has dropped the prop (from either hands or Gravity Gun). {{PlAct}} | ||
; <code>OnPlayerUse</code> | ; <code>OnPlayerUse</code> | ||
: | : Player has +USEd the prop. {{PlAct}} {{note|This output will fire only if the "Generate output on +USE" spawnflag is set.}} | ||
; {{EP2 add|<code>OnOutOfWorld</code>}} | ; {{EP2 add|<code>OnOutOfWorld</code>}} | ||
: Not in a [[Visleaf|leaf]]? | |||
; {{EP2 add|<code>OnHealthChanged</code>}} | ; {{EP2 add|<code>OnHealthChanged</code>}} | ||
; {{EP2 add|<code>OnTakeDamage</code>}} | ; {{EP2 add|<code>OnTakeDamage</code>}} | ||
{{O Targetname}} | {{O Targetname}} | ||
}} | }} | ||
Revision as of 10:12, 20 July 2009
BasePropPhysics:
OnMotionEnabled- Motion has been enabled on the prop, either via the "Health Level to Override Motion" keyvalue or from the
EnableMotioninput. OnAwakened- The prop has woken (force has been applied to it while it was asleep, or the
wakeinput has been called). OnPhysGunOnlyPickup(in all games since
)- Player has picked the prop up with the Gravity Gun.
OnPlayerPickup(in all games since
)- Player has picked the prop up with +USE or the Gravity Gun.
OnPhysGunDrop- Player has dropped the prop (from either hands or Gravity Gun). (!activator is the player.)
OnPlayerUse- Player has +USEd the prop. (!activator is the player.)
Note:This output will fire only if the "Generate output on +USE" spawnflag is set. - Template:EP2 add
- Not in a leaf?
- Template:EP2 add
- Template:EP2 add