Template:O BasePropPhysics: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 14: Line 14:
* '''{{EP1 add|OnPlayerPickup}}'''
* '''{{EP1 add|OnPlayerPickup}}'''
: Fired whenever the player picks up this prop (with the physcannon or with +USE).
: Fired whenever the player picks up this prop (with the physcannon or with +USE).
* '''{{ep2 add|OnOutOfWorld}}'''
* '''{{EP2 add|OnOutOfWorld}}'''
* '''{{ep2 add|OnHealthChanged}}'''
* '''{{EP2 add|OnHealthChanged}}'''
* '''{{ep2 add|OnTakeDamage}}'''
* '''{{EP2 add|OnTakeDamage}}'''

Revision as of 19:20, 19 January 2009

Template:O targetname

  • 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 entity becomes awake (collision/force is applied to it while it's asleep).
  • OnPhysGunPickup
Fired when the player picks up the prop with the physcannon or +USE. Template:Plact Deprecated (in all games since Half-Life 2: Episode One)
  • OnPhysGunDrop
Fired when the player drops the prop with the physcannon or +USE. Template:Plact
  • OnPlayerUse
Fired when the player tries to +USE the physbox. This output will fire only if the Generate output on +USE spawnflag is set. Template:Plact
  • OnPhysGunOnlyPickup (in all games since Half-Life 2: Episode One)
Fired when a player picks this object up WITH THE PHYSGUN. +USE pickups do not fire this output.
  • OnPlayerPickup (in all games since Half-Life 2: Episode One)
Fired whenever the player picks up this prop (with the physcannon or with +USE).