Template:I Targetname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(reduced, linked to User I/O article, spaced out code for readability.)
No edit summary
Line 2: Line 2:
: 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-4'''
* '''FireUser1-4'''
: Causes this entity's OnUser1-4 outputs to be fired. See [[User Inputs and Outputs]].
: Causes this entity's OnUser1-4 outputs to be fired. See [[User Inputs and Outputs]].
* '''Color <color255>'''
: Change the color of the entity's model/[[Wikipedia:Sprite_(computer_graphics)|sprite]]/glow if set. Format: <Red 0-255> <Green 0-255> <Blue 0-255>
* '''Alpha <integer>'''
: Change the transparency of the entity's model/[[Wikipedia:Sprite_(computer_graphics)|sprite]]/glow if set & the entity has a supporting render mode set. Clamped value: 0-255

Revision as of 19:44, 11 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.
  • Color <color255>
Change the color of the entity's model/sprite/glow if set. Format: <Red 0-255> <Green 0-255> <Blue 0-255>
  • Alpha <integer>
Change the transparency of the entity's model/sprite/glow if set & the entity has a supporting render mode set. Clamped value: 0-255