Template:I Targetname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(reduced, linked to User I/O article, spaced out code for readability.)
Line 1: Line 1:
'''Kill'''
'''Kill'''
:Removes this entity from the world.
: Removes this entity from the world.
 
*'''KillHierarchy'''
*'''KillHierarchy'''
:Removes this entity and all its children from the world.
: Removes this entity and all its children from the world.
 
*'''AddOutput <string>'''
*'''AddOutput <string>'''
:Adds an entity I/O connection to this entity. Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>. Very dangerous, use with care.
: Adds an entity I/O connection to this entity. Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>. Very dangerous, use with care.
*'''FireUser1'''
 
:Causes this entity's OnUser1 output to be fired.
*'''FireUser1-4'''
*'''FireUser2'''
: Causes this entity's OnUser1-4 outputs to be fired. See [[User Inputs and Outputs]].
:Causes this entity's OnUser2 output to be fired.
*'''FireUser3'''
:Causes this entity's OnUser3 output to be fired.
*'''FireUser4'''
:Causes this entity's OnUser4 output to be fired.

Revision as of 21:27, 9 July 2005

Kill

Removes this entity from the world.
  • KillHierarchy
Removes this entity and all its children from the world.
  • AddOutput <string>
Adds an entity I/O connection to this entity. Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>. Very dangerous, use with care.
  • FireUser1-4
Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.