# APM Of Difficulty Level

Grammar — Actions Per Minute for difficulty level difficulty
FlagsNative | Function

Returns the actions per minute for the difficulty level specified.

# Arguments

  • int [ difficulty ] — Difficulty

Returns — int

native int DifficultyAPM(int inDifficulty);

Category: Player / Difficulty Levels

# Examples

# mods/core.sc2mod

BaseAI.galaxy

// L107
DifficultyAPM(diff)
// L244
DifficultyAPM(diff)
// L143
DifficultyAPM(diff)
// L287
DifficultyAPM(diff)