# Get Challenge High Score

Grammar — Get the high score of challengeName for player
FlagsNative | Function | Restricted

This action will only work for Blizzard maps.

# Arguments

  • int — Player
  • string — Challenge Name

Returns — int

native int UIGetChallengeHighScore(
	int player,
	string challengeName,
);

Category: UI / Challenges

# Examples

mods/challenges.sc2modbase.sc2data/LibChal.galaxy:1858


    // Implementation
    lv_score = UIGetChallengeHighScore(1, libChal_gf_ChallengeName(lp_challengeType));
    return lv_score;
}