Point broadcastclientcommand: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(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}}
{{I Targetname}}


== Outputs ==
== See Also ==
{{O Targetname}}
 
== See also ==
* [[point_clientcommand]]
* [[point_clientcommand]]
* [[point_servercommand]]
* [[point_servercommand]]


[[Category:Console Commands]]
[[Category:Console Commands]]

Revision as of 15:27, 6 October 2022

Stub

This article or section is a stub. You can help by expanding it.

Template:Base point

Warning.pngWarning: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.
Note.pngFix: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.

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 or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

Command <stringRedirectInput/string>
Command to execute.

See Also