Template:I Targetname: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) No edit summary |
TomEdwards (talk | contribs) (Use is !FGD in CBaseEntity) |
||
Line 4: | Line 4: | ||
; <code>KillHierarchy</code> | ; <code>KillHierarchy</code> | ||
: Removes this entity and all its [[Entity Hierarchy (parenting)|children]] from the world. | : Removes this entity and all its [[Entity Hierarchy (parenting)|children]] from the world. | ||
; <code>Use</code> | |||
: Same as a player invoking [[Use|+use]]. (This input is not in Valve's [[FGD]]s and needs to be typed manually, with SmartEdit disabled.) | |||
; {{l4d2 add|<code>RunScriptFile <[[string]]></code>}} | ; {{l4d2 add|<code>RunScriptFile <[[string]]></code>}} | ||
: Execute a [[VScript|game script]] from disk. | : Execute a [[VScript|game script]] from disk. |
Revision as of 04:15, 29 October 2010
Targetname:
Kill
- Removes this entity from the world.
KillHierarchy
- Removes this entity and all its children from the world.
Use
- Same as a player invoking +use. (This input is not in Valve's FGDs and needs to be typed manually, with SmartEdit disabled.)
- Template:L4d2 add
- Execute a game script from disk.
- Template:L4d2 add
- Execute a string of script source code.
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
toFireUser4
- Fire the
OnUser
outputs; see User Inputs and Outputs.