Template:O BasePropPhysics: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
TomEdwards (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{ScrollBox|title=BasePropPhysics|noscroll=true| | |||
; <code>OnMotionEnabled</code> | |||
: Fired when motion is enabled on this prop, either via the "Health Level to Override Motion" keyvalue or from the <code>EnableMotion</code> input. | |||
; <code>OnAwakened</code> | |||
: Fired when this prop wakes (force has been applied to it while it was asleep). | |||
; {{EP1 add|<code>OnPhysGunOnlyPickup</code>}} | |||
: Fired when a player picks the prop up with the Gravity Gun. | |||
; {{EP1 add|<code>OnPlayerPickup</code>}} | |||
: As above, but picking up in your hands with +USE also counts. | |||
; <code>OnPhysGunDrop</code> | |||
: Fired when a player drops the prop. {{PlAct}} | |||
; <code>OnPlayerUse</code> | |||
: Fired when a player tries to +USE 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>OnHealthChanged</code>}} | |||
; {{EP2 add|<code>OnTakeDamage</code>}} | |||
{{O Targetname}} | {{O Targetname}} | ||
}} | |||
Revision as of 10:22, 20 July 2009
BasePropPhysics:
OnMotionEnabled
- Fired when motion is enabled on this prop, either via the "Health Level to Override Motion" keyvalue or from the
EnableMotion
input. OnAwakened
- Fired when this prop wakes (force has been applied to it while it was asleep).
OnPhysGunOnlyPickup
(in all games since)
- Fired when a player picks the prop up with the Gravity Gun.
OnPlayerPickup
(in all games since)
- As above, but picking up in your hands with +USE also counts.
OnPhysGunDrop
- Fired when a player drops the prop. (!activator is the player.)
OnPlayerUse
- Fired when a player tries to +USE the prop. (!activator is the player.)
Note:This output will fire only if the "Generate output on +USE" spawnflag is set.
- Template:EP2 add
- Template:EP2 add
- Template:EP2 add