GetGameOption (option)
Gets the current setting of one of the game options, originally set in the AGS Editor
Game Settings pane.
OPTION specifies which option to get, and its current value is returned.
The valid values for OPTION are listed in SetGameOption.
Example:
if (GetGameOption(OPT_PIXELPERFECT) == 1) {
Display("pixel-perfect click deteciton is on!");
}
See Also: SetGameOption
|