Difference between revisions of "SetGameMode"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (see also)
m (Updating link)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Generated}}
 
 
{{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 =
 
}}
 
}}
  
 
== Description ==
 
== Description ==
 
<!-- 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. -->
This function sets the current game mode for a specific player. A game mode can be combat, explore, dialog etc'
+
This function sets the current game mode for a specific player. A game mode can be combat, explore, dialog, etc.
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->
Line 24: 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_*