Template:I ATargetname

From Valve Developer Community
Jump to navigation Jump to search
Icon-callout-delete.png
This template has been marked as a candidate for speedy deletion because it has been deprecated.
Red x.png
This template (and its redirect) is Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{I Source 2 Targetname}} instead.
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.
AlyxTargetName:
RunScriptFile
Execute a VScript file from disk, without file extension. The script contents are merged with the script scope of the receiving entity.


RunScriptCode
Execute a string of VScript source code in the scope of the entity receiving the input. String quotation may be needed when fired via console.


CallScriptFunction
Execute a VScript function in the scope of the receiving entity.


CallPrivateScriptFunction
Execute a VScript function from this entity's private script scope


CallGlobalScriptFunction
Execute a VScript function from the global script scope


Kill
Removes this entity from the world.


KillHierarchy
Removes this entity and its children from the world.
Note.pngNote: Entities already remove orphaned children upon being removed, but this input removes all children on the same frame, being marginally faster than Kill.


AddOutput <string>
Adds a keyvalue/output to this entity. It can be potentially very dangerous, use with care.
KV Format: <key> <value>
I/O 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.