# Set Leaderboard Item Progress Color

Grammar — Set board|Leaderboard item progress bar color at column column and row row to color for step step
FlagsNative | Action

Sets the color for a progress bar within a leaderboard item. If colors are set for multiple step values, the color will vary as the progress value increases, dividing each step equally across the full progress range.

# Arguments

  • int [ preset::Board ] — Board
  • int — Column
  • int — Row
  • color — Color
  • int — Step

Returns — void

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

Category: Leaderboard / Progress Bars

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L1364
BoardItemSetProgressColor(gv_merc_Contract_Price_Board, 1, 2, Color(0.00, 100.00, 100.00), 1)
// L1370
BoardItemSetProgressColor(gv_merc_Contract_Price_Board, 1, 4, Color(100.00, 0.00, 0.00), 1)
// L1198
BoardItemSetProgressColor(gv_artifactBoard, 1, 2, Color(50.20, 50.20, 100.00), 1)
// L1364
BoardItemSetProgressColor(gv_merc_Contract_Price_Board, 1, 2, Color(0.00, 100.00, 100.00), 1)
// L1370
BoardItemSetProgressColor(gv_merc_Contract_Price_Board, 1, 4, Color(100.00, 0.00, 0.00), 1)
// L1198
BoardItemSetProgressColor(gv_artifactBoard, 1, 2, Color(50.20, 50.20, 100.00), 1)