# Set Leaderboard Item Text Color

Grammar — Set board|Leaderboard item text color at column column and row row to color
FlagsNative | Action

Sets the item text color on a leaderboard to the specified color.

# Arguments

  • int<preset::Board> — Board
  • int — Column
  • int — Row
  • color — Color

Returns — void

native void BoardItemSetTextColor(
	int inBoard,
	int inCol,
	int inRow,
	color inColor,
);

Category: Leaderboard / Leaderboard Items

# Examples

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

    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));
    BoardItemSetFontSize(gv_merc_Contract_Price_Board, 1, 1, 18);
    BoardItemSetProgressRange(gv_merc_Contract_Price_Board, 1, 2, 0.0, IntToFixed(gv_mERC_CONTRACT_PRICE));

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

    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));
    BoardItemSetFontSize(gv_merc_Contract_Price_Board, 1, 3, 18);
    BoardItemSetProgressRange(gv_merc_Contract_Price_Board, 1, 4, 0.0, IntToFixed(gv_mERC_CONTRACT_PRICE));

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

    gv_artifactBoard = BoardLastCreated();
    BoardItemSetText(gv_artifactBoard, 1, c_boardRowHeader, StringExternal("Param/Value/9C83DB5C"));
    BoardItemSetTextColor(gv_artifactBoard, 1, c_boardRowHeader, Color(0.00, 100.00, 0.00));
    BoardSetState(gv_artifactBoard, PlayerGroupAll(), c_boardStateShowHeader, true);
    BoardSetState(gv_artifactBoard, PlayerGroupAll(), c_boardStateShowTitle, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:5877

    TimerPause(TimerLastStarted(), true);
    TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/00C4A4C7"), true, false);
    BoardItemSetTextColor(BoardLastCreated(), 1, 1, Color(100.00, 100.00, 100.00));
    TimerWindowSetFormat(TimerWindowLastCreated(), StringToText("<min2/>:<sec2/>"));
    TimerWindowSetColor(TimerWindowLastCreated(), c_timerWindowColorTime, Color(100.00, 0.00, 0.00), 0.0);

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

    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));
    BoardItemSetFontSize(gv_merc_Contract_Price_Board, 1, 1, 18);
    BoardItemSetProgressRange(gv_merc_Contract_Price_Board, 1, 2, 0.0, IntToFixed(gv_mERC_CONTRACT_PRICE));

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

    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));
    BoardItemSetFontSize(gv_merc_Contract_Price_Board, 1, 3, 18);
    BoardItemSetProgressRange(gv_merc_Contract_Price_Board, 1, 4, 0.0, IntToFixed(gv_mERC_CONTRACT_PRICE));

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

    gv_artifactBoard = BoardLastCreated();
    BoardItemSetText(gv_artifactBoard, 1, c_boardRowHeader, StringExternal("Param/Value/9C83DB5C"));
    BoardItemSetTextColor(gv_artifactBoard, 1, c_boardRowHeader, Color(0.00, 100.00, 0.00));
    BoardSetState(gv_artifactBoard, PlayerGroupAll(), c_boardStateShowHeader, true);
    BoardSetState(gv_artifactBoard, PlayerGroupAll(), c_boardStateShowTitle, false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2mapMapScript.galaxy:5877

    TimerPause(TimerLastStarted(), true);
    TimerWindowCreate(TimerLastStarted(), StringExternal("Param/Value/00C4A4C7"), true, false);
    BoardItemSetTextColor(BoardLastCreated(), 1, 1, Color(100.00, 100.00, 100.00));
    TimerWindowSetFormat(TimerWindowLastCreated(), StringToText("<min2/>:<sec2/>"));
    TimerWindowSetColor(TimerWindowLastCreated(), c_timerWindowColorTime, Color(100.00, 0.00, 0.00), 0.0);