Point clientcommand: Difference between revisions
Jump to navigation
Jump to search
Cargo Cult (talk | contribs) (Are there any limitations on what console commands are allowed?) |
Createdbyx (talk | contribs) m (Added link to related tutorial) |
||
Line 29: | Line 29: | ||
*{{o targetname}} | *{{o targetname}} | ||
== Tutorials == | |||
* [[Unlocking chapters in your mod]] | |||
[[Category:Entities]][[Category:Point Entities]] | [[Category:Entities]][[Category:Point Entities]] |
Revision as of 15:19, 9 September 2005
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.