Point message: Difference between revisions
Jump to navigation
Jump to search
Bug:Does not function in
,
and
. [todo tested in ?]
m (added L4D2 to "does not work" note, as i could never get it to work.) |
(Updated) |
||
Line 3: | Line 3: | ||
{{base point|point_message}} It displays a text message in the world, at its origin. | {{base point|point_message}} It displays a text message in the world, at its origin. | ||
{{ | {{bug|Does not function in {{css}}, {{tf2}} and {{l4d2}}.}} | ||
{{in code|class=class_c_message_entity.html CMessageEntity|file=message__entity_8cpp-source.html message_entity.cpp}} | {{in code|class=class_c_message_entity.html CMessageEntity|file=message__entity_8cpp-source.html message_entity.cpp}} | ||
Line 11: | Line 11: | ||
{{KV|Entity Message|string|Message to show at this point.}} | {{KV|Entity Message|string|Message to show at this point.}} | ||
{{KV|Show message radius|integer|Distance the player must be within to see this message.}} | {{KV|Show message radius|integer|Distance the player must be within to see this message.}} | ||
{{KV|Developer Only?|boolean|If set, this message will only be visible when developer mode is on.}} | {{KV|Developer Only?|boolean|If set, this message will only be visible when [[developer]] mode is on.}} | ||
{{KV | {{KV BaseEntity}} | ||
== Flags == | == Flags == | ||
Line 21: | Line 20: | ||
{{IO|Enable|Start displaying the message text, if the player is within the message radius.}} | {{IO|Enable|Start displaying the message text, if the player is within the message radius.}} | ||
{{IO|Disable|Stop displaying the message text.}} | {{IO|Disable|Stop displaying the message text.}} | ||
{{I | {{I BaseEntity}} | ||
== Outputs == | == Outputs == | ||
{{O | {{O BaseEntity|l4d=1}} | ||
== See also == | == See also == | ||
* [[game_text]] - A similar entity that displays a custom message directly on the player screen. | * [[game_text]] - A similar entity that displays a custom message directly on the player screen. | ||
* [[game_text_tf]] - {{tf2}} only. A similar entity that displays a custom HUD message on a team's screen. | |||
[[Category:GUI Entities]] | [[Category:GUI Entities]] |
Revision as of 13:04, 18 October 2018

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




Keyvalues
- Show message radius ([todo internal name (i)]) <integer>
- Distance the player must be within to see this message.
- Developer Only? ([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 -
only. A similar entity that displays a custom HUD message on a team's screen.