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 5: Line 5:
: Fired when this entity becomes awake (collision/force is applied to it while it's asleep).
: Fired when this entity becomes awake (collision/force is applied to it while it's asleep).
* '''OnPhysGunPickup'''
* '''OnPhysGunPickup'''
: Fired when the player picks up the prop with the physcannon or +USE. {{plact}} {{EP1 add|Deprecated}}
: Fired when the player picks up the prop with the physcannon or +USE. {{PlAct}} {{EP1 add|Deprecated}}
* '''OnPhysGunDrop'''
* '''OnPhysGunDrop'''
: Fired when the player drops the prop with the physcannon or +USE. {{plact}}
: Fired when the player drops the prop with the physcannon or +USE. {{PlAct}}
* '''OnPlayerUse'''
* '''OnPlayerUse'''
: Fired when the player tries to +USE the physbox. This output will fire only if the ''Generate output on +USE'' spawnflag is set. {{plact}}
: Fired when the player tries to +USE the physbox. This output will fire only if the ''Generate output on +USE'' spawnflag is set. {{PlAct}}
* '''{{EP1 add|OnPhysGunOnlyPickup}}'''
* '''{{EP1 add|OnPhysGunOnlyPickup}}'''
: Fired when a player picks this object up WITH THE PHYSGUN. +USE pickups do not fire this output.
: Fired when a player picks this object up WITH THE PHYSGUN. +USE pickups do not fire this output.

Revision as of 20:13, 19 January 2009

  • 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. (!activator is the player.) Deprecated (in all games since Half-Life 2: Episode One)
  • OnPhysGunDrop
Fired when the player drops the prop with the physcannon or +USE. (!activator is the player.)
  • OnPlayerUse
Fired when the player tries to +USE the physbox. This output will fire only if the Generate output on +USE spawnflag is set. (!activator is the player.)
  • 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).