Template:I Targetname basic: Difference between revisions
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|}} | ||
{{ | {{I|Kill|Removes this entity from the world.}} | ||
{{ | {{I|KillHierarchy|Removes this entity and all its children from the world.}} | ||
{{ | {{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}} | ||
{{ | {{I|FireUser1|to=FireUser4|Fire the <code>OnUser</code> outputs; see [[User Inputs and Outputs]].}} | ||
{{ | {{I|ClearParent|Clears the parent attachment.}} | ||
{{ | {{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.