Difference between revisions of "GetGameDifficulty"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(add return values, remove tag)
 
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=GetGameDifficulty
 
|name=GetGameDifficulty
 
|brief=Returns the current difficulty of the game.
 
|brief=Returns the current difficulty of the game.
 
|returntype=int
 
|returntype=int
|returndesc=Returns a game difficulty constant GAME_DIFFICULTY_*
+
|returndesc=Returns a game difficulty constant
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
 
|sourcemodule=
 
|sourcemodule=
Line 12: Line 11:
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
Returns the current difficulty of the game.
 
Returns the current difficulty of the game.
 +
 +
Return values can be 0 (easy), 1 (normal), 2 (hard) or 3 (nightmare).
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->

Latest revision as of 19:57, 19 February 2010

Returns the current difficulty of the game.

int GetGameDifficulty(
);
Parameters:
None
Returns:

Returns a game difficulty constant

Source:

script.ldf

Description

Returns the current difficulty of the game.

Return values can be 0 (easy), 1 (normal), 2 (hard) or 3 (nightmare).