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
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
No edit summary |
||
Line 2: | Line 2: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | |||
{{KV|Players that should receive the message|choices|What player/group of player receives message}} | {{KV|Players that should receive the message|choices|What player/group of player receives message}} | ||
:* 1 - Activator only | :* 1 - Activator only | ||
Line 10: | Line 11: | ||
{{KV|Message Text|string|The message to be displayed}} | {{KV|Message Text|string|The message to be displayed}} | ||
{{KV|Color|RGB|The color of the message}} | {{KV|Color|RGB|The color of the message}} | ||
== Inputs == | == Inputs == | ||
{{ | {{I|Display|Display the message text.}} |
Revision as of 01:44, 26 September 2024
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>[ 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 ([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

Inputs
- Display
- Display the message text.