Skip to content

Create Progress Bar HUD Text

Description

Creates Progress Bar HUD text visible to specified 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 Progress Bar HUD Text(All Players(All Teams), 0, Custom String(""), Left, 0, Color(White), Color(White), Visible To Values and Color, Default Visibility);

Properties

Returns: Void Parameters: ==Visible To==, ==Value==, ==Text==, ==Location==, ==Sort Order==, ==Progress Bar Color==, ==Text Color==, ==Reevaluation==, ==Non-Team Spectators==

==Visible To== Type: Player | Array (Player), Default: All Players One or more Players who will see the Progress Bar HUD text.

==Value== Type: Float, Default: 0 The value of the progress bar to be displayed as a percentage from 0 to 100.

==Text== Type: Object, Default: Custom String(“”) The 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: 0 The sort order of the text relative to other text in the same location. Text with a higher sort order will come after the text with a lower sort order.

==Progress Bar Color== Type: Color, Default: Color The color of the Progress Bar text to be created. If a particular team is chosen, the effect will either be red or blue, depending on whether the team is hostile to the viewer.

==Text Color== Type: Color, Default: Color The color of the text to be created. If a particular team is chosen, the effect will either be red or blue, depending on whether the team is hostile to the viewer.

==Reevaluation== Type: HUD Reevaluation, Default: Visible To Values and Color Specifies which of this Action’s Inputs will be continuously reevaluated. The text will keep asking for and using new Values from reevaluated Inputs.

==Non-Team Spectators== Type: Spectator Visibility, Default: Default Visibility Whether non-team spectators can see the text or not.

Type to search…

↑↓ navigate↵ selectEsc close