GetDifficulty - Game

Member of: Game Script

Returns the game's current difficulty.

SyntaxEdit

int Function GetDifficulty() native global

ParametersEdit

None

Return ValueEdit

The game's current difficulty setting. Settings are as follows:

  • 0 - Very Easy
  • 1 - Easy
  • 2 - Normal
  • 3 - Hard
  • 4 - Very Hard
  • 5 - Survival (no Hardcore) DEFUNCT
  • 6 - Survival w/ Hardcore

ExamplesEdit

if Game.GetDifficulty() == 2
  Debug.Trace("Player is playing normal difficulty...")
endIf

See AlsoEdit