# APM Of Difficulty Level
Grammar — Actions Per Minute for difficulty level difficulty
Flags —Native
|Function
Returns the actions per minute for the difficulty level specified.
# Arguments
int
[ difficulty ] — Difficulty
Returns — int
native int DifficultyAPM(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
# mods/core.sc2mod
// L107
DifficultyAPM(diff)
// L244
DifficultyAPM(diff)
// L143
DifficultyAPM(diff)
// L287
DifficultyAPM(diff)