# Player Melee Option

Grammar — option melee option is enabled for player player
Flags — Native | Function

Returns whether or not a specified melee option is enabled for a player.

# Arguments

Returns — bool

native bool MeleeGetOption(int player, int option);

Category: Melee / Player Settings

# Examples

mods/warcoop/warclassicsystem.sc2mod — base.sc2data/TriggerLibs/WarClassicSystem.galaxy:646

    if ((GameIsTestMap(false) == true)) {
        Wait(3.0, c_timeGame);
        if ((MeleeGetOption(PlayerGroupPlayer(PlayerGroupActive(), 1), c_meleeOptionXPGainDisable) == true)) {
            TriggerDebugOutput(1, StringExternal("Param/Value/lib_GAwX_2EB16EED"), true);
        }