Point clientcommand
From Valve Developer Community
This point-based entity is available in all Source games.
| Table of contents |
[edit]
Entity Description
This point entity issues commands to the client console as if they were typed manually by the player. The client commands are sent as parameters of the Command input. One instance of the entity is ever needed in a map.
In multiplayer games, the commands are only executed on the Activator's client.
To do: What is the activator isn't a player?
Players also using Point_clientcommand for Black side cheating, because with it someone can change: Player name, Player client commands and make him telling to chat something.
[edit]
See also
[edit]
Keyvalues
- targetname <target_source>
- Defines the name that other entities refer to this entity by.
- hammerid [Episode Two Update]
- <integer readonly> This id is used for debugging purposes in Hammer.
[edit]
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.
[edit]
Outputs
- Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
- !activator = activator
