# Set Leaderboard Groups

Grammar — Change board|Leaderboard to have count groups
FlagsNative | Action

Sets the number of groups in a leaderboard.

# Arguments

  • int [ preset::Board ] — Board
  • int — Count

Returns — void

native void BoardSetGroupCount(int inBoard, int inGroups);

Category: Leaderboard / Format

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L2655
BoardSetGroupCount(gv_uploadBoard, 1)
// L1335
BoardSetGroupCount(gv_mineralBoard, 1)
// L1060
BoardSetGroupCount(BoardLastCreated(), 1)
// L1115
BoardSetGroupCount(BoardLastCreated(), 1)
// L2655
BoardSetGroupCount(gv_uploadBoard, 1)
// L1335
BoardSetGroupCount(gv_mineralBoard, 1)
// L1060
BoardSetGroupCount(BoardLastCreated(), 1)
// L1115
BoardSetGroupCount(BoardLastCreated(), 1)