Difference between revisions of "SetGameMode"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
m (Updating link) |
||
(2 intermediate revisions by one other user not shown) | |||
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 | + | |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]] | + | [[GetGameMode]], [[GM_*]] |
− | [[Category: Game modes]] | + | |
+ | [[Category:Game modes]] |
Latest revision as of 19:56, 3 August 2011
This function sets the current game mode.
- 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.