Phys convert

From Valve Developer Community
Revision as of 20:09, 19 January 2009 by VDCBot (talk | contribs) (Robot: fixing template case.)
Jump to navigation Jump to search

Template:Wrongtitle Template:Base point

Entity Description

Turns an arbitrary entity into a physically simulated entity. i.e. brush entities will behave like func_physbox, model entities behave like prop_physics.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

  • target <target_destination>
Name of the entity that will be converted to a physics object when the ConvertTarget input is fired.
  • swapmodel <target_destination>
Model Swap Entity

Flags

  • 1: Convert Asleep

Inputs

  • ConvertTarget
Converts this entity's target to a physically simulated object.

Outputs

  • OnConvert
Fires after the conversion has taken place. (!activator is the activator)