# Brutal Plus Difficulty of Player

Grammar — Brutal plus difficulty level for p
FlagsNative | Function | Restricted

Returns the Brutal Plus difficulty level for the current player.

# Arguments

  • int — Player

Returns — int

native int PlayerBrutalPlusDifficulty(int p);

Category: Player / Player Settings

# Examples

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:1054

        libCOMI_gv_cM_CoopAIPlayer_Commander[lp_player] = libCOMI_gf_CM_CoopAIPersonality();
    }
    if ((PlayerBrutalPlusDifficulty(1) > 0)) {
        autoE5EF26EC_g = libCOOC_gf_CommanderPlayers();
        lv_commanderPlayer = -1;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:12354


    TriggerDebugOutput(1, StringExternal("Param/Value/lib_COMI_E7447647"), false);
    lv_brutalPlusDiff = PlayerBrutalPlusDifficulty(1);
    lv_indexPlayer = 1;
    for ( ; ( (auto1DB1ED34_ai >= 0 && lv_indexPlayer <= auto1DB1ED34_ae) || (auto1DB1ED34_ai < 0 && lv_indexPlayer >= auto1DB1ED34_ae) ) ; lv_indexPlayer += auto1DB1ED34_ai ) {