Ttt game text: Difference between revisions
Jump to navigation
Jump to search
Tip: Be smart with these options. You do not want to display a message that will allow people to figure out who traitors are
(Created page with "{{this is a|point|name=ttt_game_text|game=Garry's Mod}}This point entity is used to display a game message in the top right corner of the screen where TTT gamemode messages an...") |
(assuming position in the map irrelevant) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{this is a| | {{this is a|logical entity|name=ttt_game_text|game=Garry's Mod}}This point entity is used to display a game message in the top right corner of the screen where TTT gamemode messages and information normally appear, similar to {{ent|game_text}} | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|Players that should receive the message|choices|What player/group of player receives message}} | {{KV Targetname}} | ||
{{KV|Message Text|string|The message to be displayed}} | {{KV|Players that should receive the message|intn=receive|choices|What player/group of player receives message}} | ||
{{KV|Color|RGB|The color of the message | :* 1 - Activator only | ||
:* 2 - All players | |||
:* 3 - Detectives only | |||
:* 4 - All except traitors | |||
{{tip| Be smart with these options. You do not want to display a message that will allow people to figure out who traitors are}} | |||
{{KV|Message Text|intn=message|string|The message to be displayed}} | |||
{{KV|Color|intn=color|RGB|The color of the message}} | |||
== Inputs == | == Inputs == | ||
{{ | {{I|Display|Display the message text.}} |
Latest revision as of 17:12, 22 May 2025
ttt_game_text
is a logical entity available in Garry's Mod.This point entity is used to display a game message in the top right corner of the screen where TTT gamemode messages and information normally appear, similar to game_text
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Players that should receive the message (receive) <choices>
- What player/group of player receives message
- 1 - Activator only
- 2 - All players
- 3 - Detectives only
- 4 - All except traitors

- Message Text (message) <string>
- The message to be displayed
- Color (color) <color255>
- The color of the message
Inputs
- Display
- Display the message text.