Hud
Last updated
Last updated
ShouldRender
boolean
If hud should be rendered.
Hud.ShowActionButton(text: string, buttontype: UIButton, actiontype: string)
text
string
-
buttontype
-
actiontype
string
-
Hud.ShowActionButtonOneFrame(text: string, buttontype: UIButton, actiontype: string)
text
string
-
buttontype
-
actiontype
string
-
Hud.HideActionButton()
Hud.SetMissionHealthVisible(visible: boolean)
visible
boolean
-
Hud.SetMissionHealthCaption(text: string)
text
string
-
Hud.SetMissionHealthValue(value: float)
value
float
(0.0 to 100.0)
Hud.SetMissionHealthSuccess(success: boolean)
success
boolean
-
Makes the health progress shine at the end of line when set to true.
Hud.SetMissionProgressVisible(visible: boolean)
visible
boolean
-
Hud.ClearMissionProgress()
Hud.SetMissionProgressState(state: MissionProgressState, slot: integer)
state
-
slot
integer
(0 to 3)
Hud.SetMissionProgressText(text: string, slot: integer)
text
string
-
slot
integer
(0 to 3)
Hud.ShowHintText(text: string, time: float)
text
string
-
time
float
-
Hud.HideHintText()
Hud.ShowInfoPopup(text: string, time: float)
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.
Hud.HideInfoPopup()