Difference between revisions of "GetGameMode"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(see also)
(looks okay, removing tag)
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=GetGameMode
 
|name=GetGameMode
 
|brief=This function gets the current game mode.
 
|brief=This function gets the current game mode.
 
|returntype=int
 
|returntype=int
|returndesc=a GM_* var on success, GM_INVALID on error.
+
|returndesc=a [[GM*]] var on success, GM_INVALID on error.
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
 
|sourcemodule=
 
|sourcemodule=

Revision as of 18:52, 2 March 2010

This function gets the current game mode.

int GetGameMode(
);
Parameters:
None
Returns:

a GM* var on success, GM_INVALID on error.

Source:

script.ldf

Description

This function returns the current game mode for a specific player. A game mode can be combat, explore, dialog etc'


See also

SetGameMode, GM*