# Show/Hide Leaderboard Item Progress Bar

GrammarshowHide progress bar for board|Leaderboard item at column column and row row
FlagsNative | Action

Shows or hides the display of a progress bar within a leaderboard item. Use the “Set Leaderboard Item Progress Value” action to adjust the progress bar’s displayed progress.

# Arguments

  • int<preset::Board> — Board
  • int — Column
  • int — Row
  • bool<preset::ShowHideOption> — Show/Hide

Returns — void

native void BoardItemSetProgressShow(
	int inBoard,
	int inCol,
	int inRow,
	bool inShow,
);

Category: Leaderboard / Progress Bars

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1359

    BoardSetState(gv_merc_Contract_Price_Board, PlayerGroupAll(), c_boardStateShowTitle, false);
    BoardItemSetText(gv_merc_Contract_Price_Board, 1, c_boardRowHeader, (StringExternal("Param/Value/B4F093E9") + IntToText(gv_mERC_CONTRACT_PRICE) + StringExternal("Param/Value/7B4624DB")));
    BoardItemSetProgressShow(gv_merc_Contract_Price_Board, 1, 2, true);
    BoardItemSetText(gv_merc_Contract_Price_Board, 1, 1, (StringExternal("Param/Value/DB71EC73") + IntToText(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals))));
    BoardItemSetTextColor(gv_merc_Contract_Price_Board, 1, 1, Color(0.00, 100.00, 100.00));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1365

    BoardItemSetProgressRange(gv_merc_Contract_Price_Board, 1, 2, 0.0, IntToFixed(gv_mERC_CONTRACT_PRICE));
    BoardItemSetProgressColor(gv_merc_Contract_Price_Board, 1, 2, Color(0.00, 100.00, 100.00), 1);
    BoardItemSetProgressShow(gv_merc_Contract_Price_Board, 1, 4, true);
    BoardItemSetText(gv_merc_Contract_Price_Board, 1, 3, (StringExternal("Param/Value/A79B6B3E") + IntToText(gv_oRLANS_MINERAL_COUNT)));
    BoardItemSetTextColor(gv_merc_Contract_Price_Board, 1, 3, Color(75.29, 0.00, 0.00));

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

    BoardItemSetAlignment(gv_artifactBoard, 1, 2, c_alignCenter);
    BoardItemSetAlignment(gv_artifactBoard, 1, 3, c_alignCenter);
    BoardItemSetProgressShow(gv_artifactBoard, 1, 2, true);
    BoardItemSetProgressRange(gv_artifactBoard, 1, 2, 0.0, 1.0);
    BoardItemSetProgressColor(gv_artifactBoard, 1, 2, Color(50.20, 50.20, 100.00), 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:1359

    BoardSetState(gv_merc_Contract_Price_Board, PlayerGroupAll(), c_boardStateShowTitle, false);
    BoardItemSetText(gv_merc_Contract_Price_Board, 1, c_boardRowHeader, (StringExternal("Param/Value/B4F093E9") + IntToText(gv_mERC_CONTRACT_PRICE) + StringExternal("Param/Value/7B4624DB")));
    BoardItemSetProgressShow(gv_merc_Contract_Price_Board, 1, 2, true);
    BoardItemSetText(gv_merc_Contract_Price_Board, 1, 1, (StringExternal("Param/Value/DB71EC73") + IntToText(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals))));
    BoardItemSetTextColor(gv_merc_Contract_Price_Board, 1, 1, Color(0.00, 100.00, 100.00));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:1365

    BoardItemSetProgressRange(gv_merc_Contract_Price_Board, 1, 2, 0.0, IntToFixed(gv_mERC_CONTRACT_PRICE));
    BoardItemSetProgressColor(gv_merc_Contract_Price_Board, 1, 2, Color(0.00, 100.00, 100.00), 1);
    BoardItemSetProgressShow(gv_merc_Contract_Price_Board, 1, 4, true);
    BoardItemSetText(gv_merc_Contract_Price_Board, 1, 3, (StringExternal("Param/Value/A79B6B3E") + IntToText(gv_oRLANS_MINERAL_COUNT)));
    BoardItemSetTextColor(gv_merc_Contract_Price_Board, 1, 3, Color(75.29, 0.00, 0.00));

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

    BoardItemSetAlignment(gv_artifactBoard, 1, 2, c_alignCenter);
    BoardItemSetAlignment(gv_artifactBoard, 1, 3, c_alignCenter);
    BoardItemSetProgressShow(gv_artifactBoard, 1, 2, true);
    BoardItemSetProgressRange(gv_artifactBoard, 1, 2, 0.0, 1.0);
    BoardItemSetProgressColor(gv_artifactBoard, 1, 2, Color(50.20, 50.20, 100.00), 1);