# Clear BattleNet Button Offset

Grammar — Clear the BattleNet Button Position for players
FlagsNative | Action

Clear the custom positioning of the BattleNet Button. This will cause it to return to the default location

# Arguments

  • playergroup — Players

Returns — void

native void UIClearBattleNetButtonOffset(
	playergroup inPlayers,
);

Category: UI / Game UI

# Examples

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:3165

        lib281DEC45_gf_ShowHideStoryUI(true);
        lib281DEC45_gf_ZSS_UIMainUpdate();
        UIClearBattleNetButtonOffset(PlayerGroupAll());
        TriggerExecute(lib281DEC45_gt_ZSS_PlayIdleLines, true, false);
        libSwaC_gf_DispatchStoryEvent(libSwaC_ge_ZS_Event_StoryUtilViewMainSet, "", "", false);

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:3224

        lib281DEC45_gf_ShowHideStoryUI(false);
        DialogSetSubtitlePositionOverride(c_invalidDialogId);
        UIClearBattleNetButtonOffset(PlayerGroupAll());
        lib281DEC45_gf_ZSS_DebugStoryCheatDisplay();
    }

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:3231

        lib281DEC45_gf_ShowHideStoryUI(false);
        DialogSetSubtitlePositionOverride(c_invalidDialogId);
        UIClearBattleNetButtonOffset(PlayerGroupAll());
        lib281DEC45_gf_ZSS_DebugSceneOpen();
    }

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:3238

        lib281DEC45_gf_ShowHideStoryUI(false);
        DialogSetSubtitlePositionOverride(c_invalidDialogId);
        UIClearBattleNetButtonOffset(PlayerGroupAll());
    }
    else {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:6243

    libVCST_gf_ShowHideStoryUI(false);
    DialogSetSubtitlePositionOverride(c_invalidDialogId);
    UIClearBattleNetButtonOffset(PlayerGroupAll());
    libVCST_gf_PS_DebugStoryCheatDisplay();
    return true;

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:6266

    libVCST_gf_ShowHideStoryUI(false);
    DialogSetSubtitlePositionOverride(c_invalidDialogId);
    UIClearBattleNetButtonOffset(PlayerGroupAll());
    return true;
}

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCST.galaxy:5123

    libNCST_gf_ShowHideStoryUI(false);
    DialogSetSubtitlePositionOverride(c_invalidDialogId);
    UIClearBattleNetButtonOffset(PlayerGroupAll());
    libNCST_gf_NS_DebugStoryCheatDisplay();
    libNCST_gv_nS_InStoryCheat = true;

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCST.galaxy:5146

    libNCST_gf_ShowHideStoryUI(false);
    DialogSetSubtitlePositionOverride(c_invalidDialogId);
    UIClearBattleNetButtonOffset(PlayerGroupAll());
    return true;
}