Point message: Difference between revisions
Jump to navigation
Jump to search
Bug:Does not function in
,
,
and
. [todo tested in ?]
Warning: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.
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[File:point_message.png| | {{lang|{{FULLPAGENAME}}|title=point_message}} | ||
{{infotable | |||
{{ | |game_text|img=[[File:point_message.png]] | ||
|type=e0 | |||
|engine=2 | |||
|in=In all games except {{css}}, {{tf2}}, {{l4d}} and {{l4d2}} | |||
}} {{point ent|iconblock=0|this=0|engine={{source|4}}}} It displays a text message in the world, at its origin. | |||
{{bug|Does not function in {{css}}, {{tf2}}, {{l4d}} and {{l4d2}}.}} | {{bug|Does not function in {{css}}, {{tf2}}, {{l4d}} and {{l4d2}}.}} | ||
{{code class|CMessageEntity|message_entity.cpp}} | {{code class|CMessageEntity|message_entity.cpp}} | ||
__TOC__ | |||
== Keyvalues == | == Keyvalues == |
Revision as of 06:17, 12 December 2022
game_text | |
---|---|
![]() | |
Type | Point entity |
Engine | ![]() |
Availability | In all games except ![]() ![]() ![]() ![]() |
Template:Point ent It displays a text message in the world, at its origin.





Keyvalues
- Entity Message (message) <string>
- Message to show at this point.

- Show message radius (radius) <integer>
- Distance the player must be within to see this message.
- Developer Only? (developeronly) <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 - Displays a custom message directly on the player screen.
- game_text_tf -
Displays a custom HUD message with icons on a specified team's screen.
- point_worldtext -
A similar entity that displays a custom message in the world with far more flexibility.
- training_annotation -
A similar entity that points to a specified location in the world.
- env_hudhint - Displays a custom HUD message. Commonly used to show key-binds.
- env_message - Displays a pre-defined message on the players screen.