Difference between revisions of "GetGameMode"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (looks okay, removing tag) |
m (Updating link) |
||
Line 1: | Line 1: | ||
{{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 [[ | + | |returndesc = a [[GM_*]] constant on success, or [[GM_*|GM_INVALID]] on error. |
− | |sourcefile=script.ldf | + | |sourcefile = script.ldf |
− | |sourcemodule= | + | |sourcemodule = |
}} | }} | ||
Line 20: | Line 20: | ||
== See also == | == See also == | ||
<!-- This section contains links to articles, functions or constant groups. --> | <!-- This section contains links to articles, functions or constant groups. --> | ||
− | [[SetGameMode]], [[ | + | [[SetGameMode]], [[GM_*]] |
+ | |||
[[Category: Game modes]] | [[Category: Game modes]] |
Latest revision as of 19:57, 3 August 2011
This function gets the current game mode.
int GetGameMode(
);
);
- Parameters:
- None
- Returns:
- a GM_* constant on success, or 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'