Difference between revisions of "SetGameMode"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(looks okay, remove tag)
m (Updating link)
 
Line 1: Line 1:
 
{{dafunction
 
{{dafunction
|name=SetGameMode
+
|name         = SetGameMode
|brief=This function sets the current game mode.
+
|brief       = This function sets the current game mode.
|param1type=int
+
|param1type   = int
|param1name=nMode
+
|param1name   = nMode
|param1desc=the mode to set the game to: [[GM*]]
+
|param1desc   = the mode to set the game to (a [[GM_*]] constant)
|returntype=void
+
|returntype   = void
|returndesc=
+
|returndesc   =
|sourcefile=script.ldf
+
|sourcefile   = script.ldf
|sourcemodule=
+
|sourcemodule =
 
}}
 
}}
  
Line 23: Line 23:
 
== See also ==
 
== See also ==
 
<!-- This section contains links to articles, functions or constant groups. -->
 
<!-- This section contains links to articles, functions or constant groups. -->
[[GetGameMode]], [[GM*]]
+
[[GetGameMode]], [[GM_*]]
[[Category: Game modes]]
+
 
 +
[[Category:Game modes]]

Latest revision as of 19:56, 3 August 2011

This function sets the current game mode.

void SetGameMode(
int nMode
);
Parameters:
nMode
the mode to set the game to (a GM_* constant)
Returns:

Nothing.

Source:

script.ldf

Description

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


See also

GetGameMode, GM_*