Point broadcastclientcommand: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Undo revision 230812 by UselessMouth (talk))
(added same warning as servercommand and clientcommand has.)
Line 2: Line 2:
   
   
{{base point|point_broadcastclientcommand|since=Left 4 Dead}}
{{base point|point_broadcastclientcommand|since=Left 4 Dead}}
{{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.}} }}


== Entity description ==
== Entity description ==

Revision as of 16:50, 19 August 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.


Outputs

See also