Template:I ATargetname

From Valve Developer Community
Jump to: navigation, search


Execute a VScript file from disk, without file extension. The script contents are merged with the script scope of the receiving entity.

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.

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

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

Execute a VScript function from the global script scope

Removes this entity from the world.

Removes this entity and its children from the world.
Note.png Note: 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.