Mod:Creation Kit/GetDifficulty - Game

Member of: Mod:Creation Kit/Game Script

Returns the game's current difficulty.

Syntax
int Function GetDifficulty native global

Parameters
None

Return Value
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

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