Template:I Targetname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (added help link to KillHierarchy key name)
No edit summary
Line 1: Line 1:
'''Kill'''
{{ScrollBox|title=Targetname|
; <code>Kill</code>
: Removes this entity from the world.
: Removes this entity from the world.
 
; <code>KillHierarchy</code>
* '''[[Entity_Hierarchy_%28parenting%29#KillHierarchy|KillHierarchy]]'''
: Removes this entity and all its [[Entity Hierarchy (parenting)|children]] from the world.
: Removes this entity and all its children from the world.
; <code>AddOutput <[[string]]></code>
 
* '''AddOutput <string>'''
: Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
: Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
:Format: <code><key> <value></code>
:Format: <code><key> <value></code>
:Format: <code><output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)></code>
:Format: <code><output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite></code>
 
; <code>FireUser1</code> <span style<nowiki>=</nowiki>"font-weight:normal;">to</span> <code>FireUser4</code>
* '''[[User Inputs and Outputs|FireUser''1-4'']]'''
: Fire the <code>OnUser</code> outputs; see [[User Inputs and Outputs]].
: Causes this entity's [[User Inputs and Outputs|OnUser''1-4'']] outputs to be fired. See [[User Inputs and Outputs]].
}}

Revision as of 14:39, 19 July 2009

Targetname:
Kill
Removes this entity from the world.
KillHierarchy
Removes this entity and all its children from the world.
AddOutput <string>
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
FireUser1 to FireUser4
Fire the OnUser outputs; see User Inputs and Outputs.