# Refresh Boss Bar
Grammar — Refresh boss bar bossBarID
Flags —Action
Forces the boss bar to redraw.
# Arguments
int
— BossBarID
Returns — void
void libNtve_gf_RefreshBossBar(int lp_bossBarID);
# Related
Category: UI / Boss Bar
- Display Boss Bar —
void
— libNtve_gf_DisplayBossBar - Set Boss Bar Maximum Value —
void
— libNtve_gf_SetBossBarMaximumValue - Set Boss Bar Current Value —
void
— libNtve_gf_SetBossBarCurrentValue - Set Boss Bar Boss —
void
— libNtve_gf_SetBossBarBoss - Boss Bar Race — preset —
int
- Set Boss Bar Race —
void
— libNtve_gf_SetBossBarRace - Move Boss Bar —
void
— libNtve_gf_MoveBossBar - Show/Hide Boss Bar —
void
— libNtve_gf_ShowHideBossBar - Refresh Boss Bar —
void
— libNtve_gf_RefreshBossBar
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4827
libNtve_gf_SetBossBarRace(lp_bossBarID, libNtve_ge_BossBarRace_Terran, false);
libNtve_gf_RefreshBossBar(lp_bossBarID);
DialogSetVisible(libNtve_gv__BB_Dialog[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], true);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4841
libNtve_gv__BB_Boss[lp_bossBarID] = null;
if ((lp_refresh == true)) {
libNtve_gf_RefreshBossBar(lp_bossBarID);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4856
libNtve_gv__BB_Boss[lp_bossBarID] = null;
if ((lp_refresh == true)) {
libNtve_gf_RefreshBossBar(lp_bossBarID);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4872
libNtve_gv__BB_CurrentValue[lp_bossBarID] = 0.0;
if ((lp_refresh == true)) {
libNtve_gf_RefreshBossBar(lp_bossBarID);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:6306
for ( ; ( (auto8BB89956_ai >= 0 && lv_index <= auto8BB89956_ae) || (auto8BB89956_ai < 0 && lv_index >= auto8BB89956_ae) ) ; lv_index += auto8BB89956_ai ) {
if ((libNtve_gv__BB_Boss[lv_index] == EventUnit())) {
libNtve_gf_RefreshBossBar(lv_index);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:4072
libNtve_gf_SetBossBarRace(lp_bossBarID, libNtve_ge_BossBarRace_Terran, false);
libNtve_gf_RefreshBossBar(lp_bossBarID);
DialogSetVisible(libNtve_gv__BB_Dialog[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], true);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:4086
libNtve_gv__BB_Boss[lp_bossBarID] = null;
if ((lp_refresh == true)) {
libNtve_gf_RefreshBossBar(lp_bossBarID);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:4101
libNtve_gv__BB_Boss[lp_bossBarID] = null;
if ((lp_refresh == true)) {
libNtve_gf_RefreshBossBar(lp_bossBarID);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:4117
libNtve_gv__BB_CurrentValue[lp_bossBarID] = 0.0;
if ((lp_refresh == true)) {
libNtve_gf_RefreshBossBar(lp_bossBarID);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:5420
for ( ; ( (auto8BB89956_ai >= 0 && lv_index <= auto8BB89956_ae) || (auto8BB89956_ai < 0 && lv_index >= auto8BB89956_ae) ) ; lv_index += auto8BB89956_ai ) {
if ((libNtve_gv__BB_Boss[lv_index] == EventUnit())) {
libNtve_gf_RefreshBossBar(lv_index);
}