Difference between revisions of "GetGameMode"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (see also) |
BryanDerksen (Talk | contribs) (looks okay, removing tag) |
||
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*]] 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'