Phys convert: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 9: Line 9:


==Keyvalues==
==Keyvalues==
*{{kv targetname}}
*{{KV Targetname}}
*'''target''' <target_destination>  
*'''target''' <target_destination>  
:Name of the entity that will be converted to a physics object when the '''ConvertTarget''' input is fired.
:Name of the entity that will be converted to a physics object when the '''ConvertTarget''' input is fired.

Revision as of 19:57, 19 January 2009

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

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