Point message

From Valve Developer Community
Revision as of 23:57, 25 April 2020 by Jake1997 (talk | contribs) (Updated bug text to include the original Left 4 Dead.)
Jump to navigation Jump to search
Point message.png

Template:Base point It displays a text message in the world, at its origin.

Icon-Bug.pngBug:Does not function in Counter-Strike: Source, Team Fortress 2, Left 4 Dead and Left 4 Dead 2.  [todo tested in ?]

Template:In code

Keyvalues

Entity Message (message) ([todo internal name (i)]) <string>
Message to show at this point.
Warning.pngWarning:Never use quotation marks in the message. It will corrupt the VMF structure because of the nested quotation marks, which then must be removed manually with a text editor.
Show message radius (radius) ([todo internal name (i)]) <integer>
Distance the player must be within to see this message.
Developer Only? (developeronly) ([todo internal name (i)]) <boolean>
If set, this message will only be visible when developer mode is on.


Flags

  • 1 : Start Disabled

Inputs

Enable
Start displaying the message text, if the player is within the message radius.
Disable
Stop displaying the message text.


Outputs

See also

  • game_text - A similar entity that displays a custom message directly on the player screen.
  • game_text_tf - Team Fortress 2 only. A similar entity that displays a custom HUD message on a team's screen.