GetGameSettingInt - Game

Member of: Game Script

Obtains the value of the specified int game setting

SyntaxEdit

int Function GetGameSettingInt(string asGameSetting) native global

ParametersEdit

  • asGameSetting: The name of the setting to get.

Return ValueEdit

None.

ExamplesEdit

; Print out the value of a game setting to the log
Debug.Trace("iMySetting = " + Game.GetGameSettingInt("iMySetting"))

See AlsoEdit