Template:I Targetname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Resorted the template according to the order they appear in the dropdown list.)
(Replaced content with "{{APH}} {{TDeprecated}} {{ulf|en=1|zh=1|ru=1|no-right-align=1}} <includeonly> <onlyinclude></onlyinclude> <includeonly>")
Tag: Replaced
 
(58 intermediate revisions by 17 users not shown)
Line 1: Line 1:
{{ScrollBox|title=Targetname|
{{APH}}
; <code>AddOutput <string></code>
{{TDeprecated}}
: Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
{{ulf|en=1|zh=1|ru=1|no-right-align=1}}
:Format: <code><key> <value></code>
 
:Format: <code><output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite></code>
<includeonly>
; <code>FireUser1</code> <span style<nowiki>=</nowiki>"font-weight:normal;">to</span> <code>FireUser4</code>
 
: Fire the <code>OnUser</code> outputs; see [[User Inputs and Outputs]].
<onlyinclude></onlyinclude>
; <code>Kill</code>
 
: Removes this entity from the world.
<includeonly>
; <code>KillHierarchy</code>
: Removes this entity and all its [[Entity Hierarchy (parenting)|children]] from the world.
; {{l4d2 add|<code>RunScriptFile <[[string]]></code>}}
: Execute a [[VScript|game script]] from disk.
; {{l4d2 add|<code>RunScriptCode <string></code>}}
: Execute a string of script source code.
; <code>Use</code> {{Not in FGD}}
: Same as a player invoking [[Use|+use]]; may not do anything. Can also be invoked by creating an output that does not specify an input.
: This input is not included in Valve's [[FGD]]s.
}}

Latest revision as of 02:38, 26 September 2024

Note.pngNote:Archived page history
Icon-Important.pngImportant:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

English (en)Русский (ru)中文 (zh)