# 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
- [F] —
void
— Challenge Mode — ( UISetChallengeMode ) - [F] —
void
— Set Challenge High Score — ( UISetChallengeHighScore ) - [F] —
int
— Get Challenge High Score — ( UIGetChallengeHighScore ) - [F] —
void
— Set Challenge Score Text — ( UISetChallengeScoreText ) - [F] —
void
— Set Challenge Completed — ( UISetChallengeCompleted )
# Examples
# mods/challenges.sc2mod
// L1858
UIGetChallengeHighScore(1, libChal_gf_ChallengeName(lp_challengeType))