# Difficulty Level Is Enabled
Grammar — Difficulty level difficulty is enabled
Flags —Native
|Function
Returns true if the difficulty level is enabled.
# Arguments
int
[ difficulty ] — Difficulty
Returns — bool
native bool DifficultyEnabled(int inDifficulty);
# Related
Category: Player / Difficulty Levels
- [F] —
void
— Set Player Difficulty Level — ( PlayerSetDifficulty ) - [F] —
int
[ difficulty ] — Difficulty Level For Player — ( PlayerDifficulty ) - [F] —
bool
— Difficulty Level Is Enabled — ( DifficultyEnabled ) - [F] —
text
— Name Of Difficulty Level — ( DifficultyName ) - [F] —
text
— Name Of Campaign Difficulty Level — ( DifficultyNameCampaign ) - [F] —
int
— APM Of Difficulty Level — ( DifficultyAPM )
# Examples
# campaigns/liberty.sc2campaign
// L10468
DifficultyEnabled(lp_difficulty)
// L10468
DifficultyEnabled(lp_difficulty)