# Refresh Boss Bar

Grammar — Refresh boss bar bossBarID
FlagsAction

Forces the boss bar to redraw.

# Arguments

  • int — BossBarID

Returns — void

void libNtve_gf_RefreshBossBar(int lp_bossBarID);

Category: UI / Boss Bar

# Examples

mods/core.sc2modbase.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.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4841

    libNtve_gv__BB_Boss[lp_bossBarID] = null;
    if ((lp_refresh == true)) {
        libNtve_gf_RefreshBossBar(lp_bossBarID);
    }

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4856

    libNtve_gv__BB_Boss[lp_bossBarID] = null;
    if ((lp_refresh == true)) {
        libNtve_gf_RefreshBossBar(lp_bossBarID);
    }

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4872

    libNtve_gv__BB_CurrentValue[lp_bossBarID] = 0.0;
    if ((lp_refresh == true)) {
        libNtve_gf_RefreshBossBar(lp_bossBarID);
    }

mods/core.sc2modbase.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.stormmodbase.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.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:4086

    libNtve_gv__BB_Boss[lp_bossBarID] = null;
    if ((lp_refresh == true)) {
        libNtve_gf_RefreshBossBar(lp_bossBarID);
    }

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:4101

    libNtve_gv__BB_Boss[lp_bossBarID] = null;
    if ((lp_refresh == true)) {
        libNtve_gf_RefreshBossBar(lp_bossBarID);
    }

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:4117

    libNtve_gv__BB_CurrentValue[lp_bossBarID] = 0.0;
    if ((lp_refresh == true)) {
        libNtve_gf_RefreshBossBar(lp_bossBarID);
    }

mods/core.stormmodbase.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);
        }