Description
Creates HUD text visible to specific players at a specific location on the screen. This text will persist until destroyed. To obtain a reference to this text, use the Last Text ID value. This action will fail if too many text elements have been created.
Snippet
Create HUD Text(All Players(All Teams), Custom String(""), Null, Null, Left, 0, Color(White), Color(White), Color(White), Visible To And String, Default Visibility);
Properties
Returns: Void
Parameters: Visible To, Header, Subheader, Text, Location, SORT ORDER, Header Color, Subheader Color, Text Color, Reevaluation, Spectators
Visible To
Type: Player | Array (Player), Default: All Players
One or more players who will see the hud text.Header
Type: Object, Default: String
The text to be displayed (can be blank)Subheader
Type: Object, Default: Null
The subheader text to be displayed (can be blank)Text
Type: Object, Default: Null
The body text to be displayed (can be blank)Location
Type: HUD Position, Default: Left
The location on the screen where the text will appear.SORT ORDER
Type: Float, Default: Number
The sort order of the text relative to other text in the same location. A higher sort order will come after a lower sort order.Header Color
Type: Color, Default: Color
The color of the header.Subheader Color
Type: Color, Default: Color
The color of the subheader.Text Color
Type: Color, Default: Color
The color of the text.Reevaluation
Type: HUD Reevaluation, Default: Visible To And String
Specifies which of this action's inputs will be continuously reevaluated.Spectators
Type: Spectator Visibility, Default: Default Visibility
Whether spectators can see the text or not.