Point broadcastclientcommand: Difference between revisions
Jump to navigation
Jump to search
Warning:This entity can corrupt the map.vmf file if used improperly. Inputs using quotation marks " in the parameter field will cause the vmf to be broken in such a way that hammer refuses to open and compile it. This is because the vmf uses the same quotation marks to determine the end of a string. It will read the quotation mark or your input, assume that to be the end of the string and then realise that the subsequently written words are nonsensical.
Fix:Either remove the quotation marks while hammer is still running, or open the vmf in a text editor, search for this entity and manually remove the unnecessary quotation marks.
(added same warning as servercommand and clientcommand has.) |
mNo edit summary |
||
Line 13: | Line 13: | ||
== Inputs == | == Inputs == | ||
{{IO|Command|Command to execute.|param=string}} | {{IO|Command|Command to execute.|param=string}} | ||
== See Also == | |||
== See | |||
* [[point_clientcommand]] | * [[point_clientcommand]] | ||
* [[point_servercommand]] | * [[point_servercommand]] | ||
[[Category:Console Commands]] | [[Category:Console Commands]] |
Revision as of 15:27, 6 October 2022


Entity description
An entity that issues commands to each valid client's console, as if it was typed in by that player locally. This was used in L4D2 Campaign Hard Rain to change the client fog during a heavy part of a rain storm.
Todo: Clarify and be more accurate about usage in official maps.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- Command <string >
- Command to execute.