# Show/Hide All Leaderboards

Grammarshow|Show/Hide all leaderboards for players
FlagsNative | Action

Shows or hides all leaderboards for a player group.

# Arguments

Returns — void

native void BoardShowAll(
	bool inShow,
	playergroup inPlayers,
);

Category: Leaderboard / Leaderboards

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:5280

    TriggerExecute(gt_ObjectiveDontMissTrainsComplete, true, false);
    Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
    BoardShowAll(false, PlayerGroupAll());
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:1202

    BoardItemSetText(gv_artifactBoard, 1, 1, (StringExternal("Param/Value/DE6AFFF6") + FixedToText(gf_ArtifactChargePercent(), 1) + StringExternal("Param/Value/F2914021")));
    BoardItemSetFontSize(gv_artifactBoard, 1, 1, 18);
    BoardShowAll(true, PlayerGroupAll());
    libNtve_gf_DisplayScreenButton(1, (StringExternal("Param/Value/EE7FA59B") + StringExternal("Param/Value/470B45ED") + libCamp_gf_FormatTimeCampaign(FixedToInt(UnitAbilityGetCooldown(gv_artifact, "EnergyNova", "Abil/Supernova"))) + StringExternal("Param/Value/21D8590C")), 400, 132, c_anchorTopRight, 15, 225, gt_EnergyNovaButton);
    DialogControlSetEnabled(libNtve_gf_ScreenButton(1), PlayerGroupAll(), false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:4500

    gv_gameOver = true;
    DialogControlSetEnabled(libNtve_gf_ScreenButton(1), PlayerGroupAll(), false);
    BoardShowAll(false, PlayerGroupAll());
    libNtve_gf_HideScreenButton(false, 1);
    libNtve_gf_ChangeUnitDamage(gv_artifact, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:4681

    ObjectiveSetState(gv_objective_Artifact, c_objectiveStateCompleted);
    Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
    BoardShowAll(false, PlayerGroupAll());
    libNtve_gf_HideScreenButton(false, 1);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1425

    AIAttackWaveUseUnit(gv_p10_HYBRID_MANIFESTATIONS, gv_hybridPhysical);
    AIAttackWaveSend(gv_p10_HYBRID_MANIFESTATIONS, 0, false);
    BoardShowAll(false, PlayerGroupAll());
    TimerWindowShow(gv_timerWindow, PlayerGroupAll(), false);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1604

        TimerStart(gv_attackTimer, gv_hybridRespawnTime, false, c_timeAI);
        BoardItemSetProgressValue(gv_energyBoard, 1, 1, 0.0);
        BoardShowAll(true, PlayerGroupAll());
        TimerWindowShow(gv_timerWindow, PlayerGroupAll(), true);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2mapMapScript.galaxy:5280

    TriggerExecute(gt_ObjectiveDontMissTrainsComplete, true, false);
    Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
    BoardShowAll(false, PlayerGroupAll());
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2mapMapScript.galaxy:1202

    BoardItemSetText(gv_artifactBoard, 1, 1, (StringExternal("Param/Value/DE6AFFF6") + FixedToText(gf_ArtifactChargePercent(), 1) + StringExternal("Param/Value/F2914021")));
    BoardItemSetFontSize(gv_artifactBoard, 1, 1, 18);
    BoardShowAll(true, PlayerGroupAll());
    libNtve_gf_DisplayScreenButton(1, (StringExternal("Param/Value/EE7FA59B") + StringExternal("Param/Value/470B45ED") + libCamp_gf_FormatTimeCampaign(FixedToInt(UnitAbilityGetCooldown(gv_artifact, "EnergyNova", "Abil/Supernova"))) + StringExternal("Param/Value/21D8590C")), 400, 132, c_anchorTopRight, 15, 225, gt_EnergyNovaButton);
    DialogControlSetEnabled(libNtve_gf_ScreenButton(1), PlayerGroupAll(), false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2mapMapScript.galaxy:4500

    gv_gameOver = true;
    DialogControlSetEnabled(libNtve_gf_ScreenButton(1), PlayerGroupAll(), false);
    BoardShowAll(false, PlayerGroupAll());
    libNtve_gf_HideScreenButton(false, 1);
    libNtve_gf_ChangeUnitDamage(gv_artifact, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2mapMapScript.galaxy:4681

    ObjectiveSetState(gv_objective_Artifact, c_objectiveStateCompleted);
    Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
    BoardShowAll(false, PlayerGroupAll());
    libNtve_gf_HideScreenButton(false, 1);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2mapMapScript.galaxy:1425

    AIAttackWaveUseUnit(gv_p10_HYBRID_MANIFESTATIONS, gv_hybridPhysical);
    AIAttackWaveSend(gv_p10_HYBRID_MANIFESTATIONS, 0, false);
    BoardShowAll(false, PlayerGroupAll());
    TimerWindowShow(gv_timerWindow, PlayerGroupAll(), false);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2mapMapScript.galaxy:1604

        TimerStart(gv_attackTimer, gv_hybridRespawnTime, false, c_timeAI);
        BoardItemSetProgressValue(gv_energyBoard, 1, 1, 0.0);
        BoardShowAll(true, PlayerGroupAll());
        TimerWindowShow(gv_timerWindow, PlayerGroupAll(), true);
    }