# Player Melee Option

Grammaroption melee option is enabled for player player
FlagsNative | Function

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

# Arguments

  • int — Player
  • int [ preset::MeleeOption ] — Option

Returns — bool

native bool MeleeGetOption(int player, int option);

Category: Melee / Player Settings

# Examples

# mods/warcoop/warclassicsystem.sc2mod

WarClassicSystem.galaxy

// L646
MeleeGetOption(PlayerGroupPlayer(PlayerGroupActive(), 1), c_meleeOptionXPGainDisable)