Template:O BasePropPhysics: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added a plus and reformatted some tiny things.)
m (!activator)
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.
: Fired when the player picks up the prop with the physcannon or +USE. Use !activator to target the player.
* '''OnPhysGunDrop'''
* '''OnPhysGunDrop'''
: Fired when the player drops the prop with the physcannon or +USE.
: Fired when the player drops the prop with the physcannon or +USE. Use !activator to target the player.
* '''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.
: Fired when the player tries to +USE the physbox. This output will fire only if the ''Generate output on +USE'' spawnflag is set. Use !activator to target the user.

Revision as of 19:24, 16 April 2006

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. Use !activator to target the player.
  • OnPhysGunDrop
Fired when the player drops the prop with the physcannon or +USE. Use !activator to target 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. Use !activator to target the user.