đŸ“ēHud

Properties:

Name
Type
Description

ShouldRender

boolean

If hud should be rendered.

Static Functions:

.ShowActionButton

Hud.ShowActionButton(text: string, buttontype: UIButton, actiontype: string)

Name
Type
Description

text

string

-

buttontype

-

actiontype

string

-

Preview

.ShowActionButtonOneFrame

Hud.ShowActionButtonOneFrame(text: string, buttontype: UIButton, actiontype: string)

Name
Type
Description

text

string

-

buttontype

-

actiontype

string

-

.HideActionButton

Hud.HideActionButton()

.SetMissionHealthVisible

Hud.SetMissionHealthVisible(visible: boolean)

Name
Type
Description

visible

boolean

-

Preview

.SetMissionHealthCaption

Hud.SetMissionHealthCaption(text: string)

Name
Type
Description

text

string

-

.SetMissionHealthValue

Hud.SetMissionHealthValue(value: float)

Name
Type
Description

value

float

(0.0 to 100.0)

.SetMissionHealthSuccess

Hud.SetMissionHealthSuccess(success: boolean)

Name
Type
Description

success

boolean

-

Makes the health progress shine at the end of line when set to true.

.SetMissionProgressVisible

Hud.SetMissionProgressVisible(visible: boolean)

Name
Type
Description

visible

boolean

-

.ClearMissionProgress

Hud.ClearMissionProgress()

.SetMissionProgressState

Hud.SetMissionProgressState(state: MissionProgressState, slot: integer)

Name
Type
Description

slot

integer

(0 to 3)

.SetMissionProgressText

Hud.SetMissionProgressText(text: string, slot: integer)

Name
Type
Description

text

string

-

slot

integer

(0 to 3)

.ShowHintText

Hud.ShowHintText(text: string, time: float)

Name
Type
Description

text

string

-

time

float

-

Preview

.HideHintText

Hud.HideHintText()

.ShowInfoPopup

Hud.ShowInfoPopup(text: string, time: float)

Name
Type
Description

text

string

-

time

float

-

Does same thing as ShowHintText, but has priority to show if and if called at the same time with ShowHintText then it will show first InfoPopup and then later the HintText.

.HideInfoPopup

Hud.HideInfoPopup()

Last updated

Was this helpful?