# Show/Hide Leaderboard Minimize Button
Grammar — show|Show/Hide board|Leaderboard minimize button for players
Flags —Native
|Action
Hides the minimize button on a leaderboard for a player group.
# Arguments
int
<preset::Board> — Boardplayergroup
— Playersbool
<preset::ShowHideOption> — Show
Returns — void
native void BoardMinimizeShow(
int inBoard,
playergroup inPlayers,
bool inShow,
);
# Related
Category: Leaderboard / Format
- Set Leaderboard Sort Column —
void
— BoardSort - Set Leaderboard Groups —
void
— BoardSetGroupCount - Set Leaderboard Group For Row —
void
— BoardRowSetGroup - Set Leaderboard Column Width —
void
— BoardSetColumnWidth - Set Leaderboard Rows —
void
— BoardSetRowCount - Set Leaderboard Columns —
void
— BoardSetColumnCount - Enable/Disable Leaderboard State —
void
— BoardSetState - Show/Hide Leaderboard Minimize Button —
void
— BoardMinimizeShow - Set Leaderboard Minimize Button Color —
void
— BoardMinimizeSetColor - Turn Leaderboard Minimize Button On/Off —
void
— BoardMinimizeEnable - Minimize Leaderboard —
void
— BoardMinimizeSetState
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1375
BoardItemSetIcon(gv_merc_Contract_Price_Board, 1, 2, "Assets\\Textures\\icon-mineral-terran.dds", false);
BoardItemSetIcon(gv_merc_Contract_Price_Board, 1, 4, "Assets\\Textures\\icon-mineral-zerg.dds", false);
BoardMinimizeShow(gv_merc_Contract_Price_Board, PlayerGroupAll(), false);
SoundPlay(SoundLink("TUI_StarmapMenuPopup", -1), PlayerGroupAll(), 100.0, 0.0);
TriggerEnable(gt_OrlanMineralCount, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2666
BoardItemSetText(gv_uploadBoard, 1, 3, StringExternal("Param/Value/47D958C6"));
BoardItemSetText(gv_uploadBoard, 2, 3, StringExternal("Param/Value/9293FAA1"));
BoardMinimizeShow(gv_uploadBoard, PlayerGroupAll(), false);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:1342
BoardItemSetText(gv_mineralBoard, 3, 1, (StringExternal("Param/Value/1ED6C969") + IntToText(gv_objectiveMineralsQuota)));
BoardItemSetIcon(gv_mineralBoard, 3, 1, "Assets\\Textures\\icon-highyieldmineral-terran.dds", false);
BoardMinimizeShow(gv_mineralBoard, PlayerGroupAll(), false);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:1033
BoardSetState(gv_platformSpectresBOARD, PlayerGroupAll(), c_boardStateShowHeader, false);
BoardItemSetText(gv_platformSpectresBOARD, 1, 1, StringExternal("Param/Value/6C46AD80"));
BoardMinimizeShow(gv_platformSpectresBOARD, PlayerGroupAll(), false);
TriggerExecute(gt_SpectreBoardUpdater, true, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:4084
SoundPlay(SoundLink("UI_TechConsole_Select", 0), PlayerGroupAll(), 100.0, 0.0);
BoardCreate(1, 1, StringToText(""), Color(0.00, 0.00, 100.00));
BoardMinimizeShow(BoardLastCreated(), PlayerGroupAll(), false);
gv_leaderBoardDrops = BoardLastCreated();
BoardSetState(gv_leaderBoardDrops, PlayerGroupAll(), c_boardStateShowHeader, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:790
BoardItemSetText(gv_leaderboard, 1, c_boardRowHeader, StringExternal("Param/Value/48D05F48"));
BoardItemSetText(gv_leaderboard, 1, 1, IntToText(gv_killCount));
BoardMinimizeShow(gv_leaderboard, PlayerGroupAll(), false);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:1057
BoardSetColumnWidth(BoardLastCreated(), 1, 15.0);
BoardSetColumnWidth(BoardLastCreated(), 2, 5.0);
BoardMinimizeShow(BoardLastCreated(), PlayerGroupAll(), false);
BoardSetState(BoardLastCreated(), PlayerGroupAll(), c_boardStateShowTitle, false);
BoardSetState(BoardLastCreated(), PlayerGroupAll(), c_boardStateShowHeader, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:1112
BoardSetColumnWidth(BoardLastCreated(), 1, 20.0);
BoardSetColumnWidth(BoardLastCreated(), 2, 4.0);
BoardMinimizeShow(BoardLastCreated(), PlayerGroupAll(), false);
BoardSetState(BoardLastCreated(), PlayerGroupAll(), c_boardStateShowTitle, false);
BoardSetState(BoardLastCreated(), PlayerGroupAll(), c_boardStateShowHeader, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2map — MapScript.galaxy:1375
BoardItemSetIcon(gv_merc_Contract_Price_Board, 1, 2, "Assets\\Textures\\icon-mineral-terran.dds", false);
BoardItemSetIcon(gv_merc_Contract_Price_Board, 1, 4, "Assets\\Textures\\icon-mineral-zerg.dds", false);
BoardMinimizeShow(gv_merc_Contract_Price_Board, PlayerGroupAll(), false);
SoundPlay(SoundLink("TUI_StarmapMenuPopup", -1), PlayerGroupAll(), 100.0, 0.0);
TriggerEnable(gt_OrlanMineralCount, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:2666
BoardItemSetText(gv_uploadBoard, 1, 3, StringExternal("Param/Value/47D958C6"));
BoardItemSetText(gv_uploadBoard, 2, 3, StringExternal("Param/Value/9293FAA1"));
BoardMinimizeShow(gv_uploadBoard, PlayerGroupAll(), false);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2map — MapScript.galaxy:1342
BoardItemSetText(gv_mineralBoard, 3, 1, (StringExternal("Param/Value/1ED6C969") + IntToText(gv_objectiveMineralsQuota)));
BoardItemSetIcon(gv_mineralBoard, 3, 1, "Assets\\Textures\\icon-highyieldmineral-terran.dds", false);
BoardMinimizeShow(gv_mineralBoard, PlayerGroupAll(), false);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:1033
BoardSetState(gv_platformSpectresBOARD, PlayerGroupAll(), c_boardStateShowHeader, false);
BoardItemSetText(gv_platformSpectresBOARD, 1, 1, StringExternal("Param/Value/6C46AD80"));
BoardMinimizeShow(gv_platformSpectresBOARD, PlayerGroupAll(), false);
TriggerExecute(gt_SpectreBoardUpdater, true, false);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:4084
SoundPlay(SoundLink("UI_TechConsole_Select", 0), PlayerGroupAll(), 100.0, 0.0);
BoardCreate(1, 1, StringToText(""), Color(0.00, 0.00, 100.00));
BoardMinimizeShow(BoardLastCreated(), PlayerGroupAll(), false);
gv_leaderBoardDrops = BoardLastCreated();
BoardSetState(gv_leaderBoardDrops, PlayerGroupAll(), c_boardStateShowHeader, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:790
BoardItemSetText(gv_leaderboard, 1, c_boardRowHeader, StringExternal("Param/Value/48D05F48"));
BoardItemSetText(gv_leaderboard, 1, 1, IntToText(gv_killCount));
BoardMinimizeShow(gv_leaderboard, PlayerGroupAll(), false);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2map — MapScript.galaxy:1057
BoardSetColumnWidth(BoardLastCreated(), 1, 15.0);
BoardSetColumnWidth(BoardLastCreated(), 2, 5.0);
BoardMinimizeShow(BoardLastCreated(), PlayerGroupAll(), false);
BoardSetState(BoardLastCreated(), PlayerGroupAll(), c_boardStateShowTitle, false);
BoardSetState(BoardLastCreated(), PlayerGroupAll(), c_boardStateShowHeader, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2map — MapScript.galaxy:1112
BoardSetColumnWidth(BoardLastCreated(), 1, 20.0);
BoardSetColumnWidth(BoardLastCreated(), 2, 4.0);
BoardMinimizeShow(BoardLastCreated(), PlayerGroupAll(), false);
BoardSetState(BoardLastCreated(), PlayerGroupAll(), c_boardStateShowTitle, false);
BoardSetState(BoardLastCreated(), PlayerGroupAll(), c_boardStateShowHeader, false);
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova08.sc2map/MapScript.galaxy:2592
gv_deathFleetLeaderboard = BoardLastCreated();
BoardSetState(BoardLastCreated(), PlayerGroupAll(), c_boardStateShowTitle, false);
BoardMinimizeShow(BoardLastCreated(), PlayerGroupAll(), false);
BoardSetState(BoardLastCreated(), PlayerGroupAll(), c_boardStateShowHeader, true);
BoardItemSetAlignment(BoardLastCreated(), 1, c_boardRowHeader, c_alignLeft);
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova08.sc2map — MapScript.galaxy:2592
gv_deathFleetLeaderboard = BoardLastCreated();
BoardSetState(BoardLastCreated(), PlayerGroupAll(), c_boardStateShowTitle, false);
BoardMinimizeShow(BoardLastCreated(), PlayerGroupAll(), false);
BoardSetState(BoardLastCreated(), PlayerGroupAll(), c_boardStateShowHeader, true);
BoardItemSetAlignment(BoardLastCreated(), 1, c_boardRowHeader, c_alignLeft);