Template:I Targetname basic: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{ScrollBox|title=Targetname|}} {{IO|Kill|Removes this entity from the world.}} {{IO|KillHierarchy|Removes this entity and all its children from the world.}} {{IO|AddOutput|Evalu...")
 
m (→‎top: Substituted IO templates)
 
Line 1: Line 1:
{{ScrollBox|title=Targetname|}}
{{ScrollBox|title=Targetname|}}
{{IO|Kill|Removes this entity from the world.}}
{{I|Kill|Removes this entity from the world.}}
{{IO|KillHierarchy|Removes this entity and all its children from the world.}}
{{I|KillHierarchy|Removes this entity and all its children from the world.}}
{{IO|AddOutput|Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.<br/>Format: <code><key> <value></code><br/>Format: <code><output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite></code>|param=string}}
{{I|AddOutput|Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.<br/>Format: <code><key> <value></code><br/>Format: <code><output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite></code>|param=string}}
{{IO|FireUser1|to=FireUser4|Fire the <code>OnUser</code> outputs; see [[User Inputs and Outputs]].}}
{{I|FireUser1|to=FireUser4|Fire the <code>OnUser</code> outputs; see [[User Inputs and Outputs]].}}
{{IO|ClearParent|Clears the parent attachment.}}
{{I|ClearParent|Clears the parent attachment.}}
{{IO|SetParent|Set the entity's parent.}}
{{I|SetParent|Set the entity's parent.}}


<noinclude>
<noinclude>
[[Category:Input Templates|Targetname (no new l4d2 inputs]]
[[Category:Input Templates|Targetname (no new l4d2 inputs]]
</noinclude>
</noinclude>

Latest revision as of 12:57, 21 April 2025

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.
ClearParent
Clears the parent attachment.
SetParent
Set the entity's parent.