# Difficulty High

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

Returns true if the current difficulty setting is this or harder. 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 —