# Difficulty Low

Grammar — Difficulty is difficulty or lower
FlagsOperator | CustomScript | Function

Returns true if the current difficulty setting is this or easier. This is for campaign use (in which all players have the same difficulty setting), so player 1’s setting is used.

# Arguments

  • int [ difficulty ] — Difficulty

Returns — bool

(PlayerDifficulty(1) <= #PARAM(difficulty))

Category: AI / MiscCampaign / Functions

# Examples

— None found —