Point clientcommand: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
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. | 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. {{todo|What | In multiplayer games, the commands are only executed on the [[Activator]]'s client. {{todo|What if 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. | 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. |
Revision as of 10:54, 25 July 2008
Template:Wrongtitle Template:Base point
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.
Todo: What if 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.
See also
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.