Phys convert: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
m (Robot: fixing template case.)  | 
				m (Robot: fixing template case.)  | 
				||
| Line 24: | Line 24: | ||
==Outputs==  | ==Outputs==  | ||
*{{  | *{{O Targetname}}  | ||
*'''OnConvert'''  | *'''OnConvert'''  | ||
:Fires after the conversion has taken place. {{activator|activator}}  | :Fires after the conversion has taken place. {{activator|activator}}  | ||
Revision as of 19:09, 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.
- See also Blowout Doors - A phys_convert in use.
 - See also Prop_physics_override - Should act somewhat similar to this.
 
Keyvalues
- Name (targetname) <string>[ Edit ]
 - The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. 
parentnameortarget).
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)