Template:I Targetname

From Valve Developer Community
Revision as of 05:58, 30 May 2011 by Stoopdapoop (talk | contribs)
Jump to: navigation, search


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.
Removes this entity from the world.
Removes this entity and all its children from the world.
RunScriptFile <string> (in all games since <Left 4 Dead 2>)
Execute a game script from disk.
RunScriptCode <string> (in all games since <Left 4 Dead 2>)
Execute a string of script source code.
Use !FGD
Same as a player invoking +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 FGDs.