# Get Challenge High Score
Grammar — Get the high score of challengeName for player
Flags —Native|Function|Restricted
This action will only work for Blizzard maps.
# Arguments
int— Playerstring— Challenge Name
Returns — int
native int UIGetChallengeHighScore(
int player,
string challengeName,
);
# Related
Category: UI / Challenges
- Challenge Mode —
void— UISetChallengeMode - Set Challenge High Score —
void— UISetChallengeHighScore - Get Challenge High Score —
int— UIGetChallengeHighScore - Set Challenge Score Text —
void— UISetChallengeScoreText - Set Challenge Completed —
void— UISetChallengeCompleted
# Examples
mods/challenges.sc2mod — base.sc2data/LibChal.galaxy:1858
// Implementation
lv_score = UIGetChallengeHighScore(1, libChal_gf_ChallengeName(lp_challengeType));
return lv_score;
}