ttt_game_text
ttt_game_text
is a point 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> - 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
([todo internal name (i)])
<choices> - What player/group of player receives 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
- Message Text
([todo internal name (i)])
<string> - The message to be displayed
- Color
([todo internal name (i)])
<color255> - The color of the message
Inputs
Display
- Display the message text.