# Difficulty Is (one)

Grammar — Difficulty is difficulty
FlagsOperator | CustomScript | Function

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