# Difficulty Level For Player

Grammar — Difficulty level for player p
FlagsNative | Function

Returns the difficulty level for the specified player.

# Arguments

  • int — Player

Returns — int [ difficulty ]

native int PlayerDifficulty(int inPlayer);

Category: Player / Difficulty Levels

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L4124
PlayerDifficulty(gv_p1_USER)
// L8349
PlayerDifficulty(1)
// L703
PlayerDifficulty(gv_pLAYER_01_USER)
// L847
PlayerDifficulty(gv_pLAYER01_USER)
// L1167
PlayerDifficulty(gv_p01_USER)
// L860
PlayerDifficulty(gv_pLAYER_01_USER)
// L4004
PlayerDifficulty(gv_pLAYER_01_USER)
// L4004
PlayerDifficulty(gv_pLAYER_01_USER)
// L782
PlayerDifficulty(gv_p01_USER)
// L596
PlayerDifficulty(gv_p01_USER)
// L1111
PlayerDifficulty(gv_p01_USER)
// L627
PlayerDifficulty(gv_p1_USER)
// L1074
PlayerDifficulty(1)
// L1079
PlayerDifficulty(1)
// L1131
PlayerDifficulty(1)
// L1131
PlayerDifficulty(1)
// L1818
PlayerDifficulty(1)
// L4950
PlayerDifficulty(1)
// L5137
PlayerDifficulty(1)
// L663
PlayerDifficulty(gv_pLAYER_01_USER)
// L1205
PlayerDifficulty(gv_pLAYER_01_USER)
// L1205
PlayerDifficulty(gv_pLAYER_01_USER)
// L765
PlayerDifficulty(gv_pLAYER01_USER)
// L2636
PlayerDifficulty(1)
// L2643
PlayerDifficulty(1)
// L2660
PlayerDifficulty(1)
// L4119
PlayerDifficulty(gv_pLAYER01_USER)
// L10531
PlayerDifficulty(1)
// L17575
PlayerDifficulty(1)
// L22006
PlayerDifficulty(1)
// L22755
PlayerDifficulty(1)
// L897
PlayerDifficulty(gv_p1_USER)
// L461
PlayerDifficulty(1)
// L461
PlayerDifficulty(1)
// L912
PlayerDifficulty(1)
// L912
PlayerDifficulty(1)
// L935
PlayerDifficulty(gv_p1_USER)
// L785
PlayerDifficulty(gv_pLAYER01_USER)
// L2899
PlayerDifficulty(gv_pLAYER01_USER)
// L2899
PlayerDifficulty(gv_pLAYER01_USER)
// L2979
PlayerDifficulty(gv_pLAYER01_USER)
// L2979
PlayerDifficulty(gv_pLAYER01_USER)
// L1077
PlayerDifficulty(1)
// L710
PlayerDifficulty(gv_p01_USER)
// L591
PlayerDifficulty(gv_pLAYER01_USER)
// L684
PlayerDifficulty(gv_pLAYER_01_USER)
// L2496
PlayerDifficulty(gv_pLAYER_01_USER)
// L2496
PlayerDifficulty(gv_pLAYER_01_USER)
// L2510
PlayerDifficulty(gv_pLAYER_01_USER)
// L2510
PlayerDifficulty(gv_pLAYER_01_USER)
// L2521
PlayerDifficulty(gv_pLAYER_01_USER)
// L2521
PlayerDifficulty(gv_pLAYER_01_USER)
// L2531
PlayerDifficulty(gv_pLAYER_01_USER)
// L2531
PlayerDifficulty(gv_pLAYER_01_USER)
// L936
PlayerDifficulty(gv_pLAYER_P01_USER)
// L984
PlayerDifficulty(gv_pLAYER_USER)
// L1014
PlayerDifficulty(gv_p1_USER)
// L719
PlayerDifficulty(gv_p1_USER)
// L608
PlayerDifficulty(gv_p01_USER)
// L598
PlayerDifficulty(gv_p01_PLAYER)
// L3278
PlayerDifficulty(gv_p01_PLAYER)
// L3351
PlayerDifficulty(gv_p01_PLAYER)
// L4124
PlayerDifficulty(gv_p1_USER)
// L8349
PlayerDifficulty(1)
// L703
PlayerDifficulty(gv_pLAYER_01_USER)
// L847
PlayerDifficulty(gv_pLAYER01_USER)
// L1167
PlayerDifficulty(gv_p01_USER)
// L860
PlayerDifficulty(gv_pLAYER_01_USER)
// L4004
PlayerDifficulty(gv_pLAYER_01_USER)
// L4004
PlayerDifficulty(gv_pLAYER_01_USER)
// L782
PlayerDifficulty(gv_p01_USER)
// L596
PlayerDifficulty(gv_p01_USER)
// L1111
PlayerDifficulty(gv_p01_USER)
// L627
PlayerDifficulty(gv_p1_USER)
// L1074
PlayerDifficulty(1)
// L1079
PlayerDifficulty(1)
// L1131
PlayerDifficulty(1)
// L1131
PlayerDifficulty(1)
// L1818
PlayerDifficulty(1)
// L4950
PlayerDifficulty(1)
// L5137
PlayerDifficulty(1)
// L663
PlayerDifficulty(gv_pLAYER_01_USER)
// L1205
PlayerDifficulty(gv_pLAYER_01_USER)
// L1205
PlayerDifficulty(gv_pLAYER_01_USER)
// L765
PlayerDifficulty(gv_pLAYER01_USER)
// L2636
PlayerDifficulty(1)
// L2643
PlayerDifficulty(1)
// L2660
PlayerDifficulty(1)
// L4119
PlayerDifficulty(gv_pLAYER01_USER)
// L10531
PlayerDifficulty(1)
// L17575
PlayerDifficulty(1)
// L22006
PlayerDifficulty(1)
// L22755
PlayerDifficulty(1)
// L897
PlayerDifficulty(gv_p1_USER)
// L461
PlayerDifficulty(1)
// L461
PlayerDifficulty(1)
// L912
PlayerDifficulty(1)
// L912
PlayerDifficulty(1)
// L935
PlayerDifficulty(gv_p1_USER)
// L785
PlayerDifficulty(gv_pLAYER01_USER)