Skip to content

Class: game_difficulty ​

Single-player difficulty constants.

Source ​

src/xrGame/game_cl_single.h, ESingleGameDifficulty; src/xrGame/level_script.cpp, game_difficulty binding

Custom Constructor ​

game_difficulty

Constructors ​

Constructor ​

ts
new game_difficulty(): game_difficulty;

Returns ​

game_difficulty

Properties ​

master ​

ts
readonly static master: 3;

Engine enum value for game_difficulty.master.


novice ​

ts
readonly static novice: 0;

Engine enum value for game_difficulty.novice.


stalker ​

ts
readonly static stalker: 1;

Engine enum value for game_difficulty.stalker.


veteran ​

ts
readonly static veteran: 2;

Engine enum value for game_difficulty.veteran.