Point clientcommand: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 23: Line 23:


* '''Command <string>'''
* '''Command <string>'''
: Command to execute.
: [[Command]] to execute.


==Outputs==
==Outputs==

Revision as of 06:21, 27 September 2005

Template:Wrongtitle

Entity Description

A point entity which issues commands to the client console, as if it was typed in by the player (if activator is a player, or the local player in single player). Commands are sent as paramater overrides via the Command input; one point_clientcommand could be used to send all required console commands for a given map.

Since console commands can be extremely powerful, use with care.

Keyvalues

Inputs

  • 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.
  • Command <string>
Command to execute.

Outputs

Tutorials