Mod:Creation Kit/GetGameSettingInt - Game

Member of: Mod:Creation Kit/Game Script

Obtains the value of the specified int game setting

Syntax
int Function GetGameSettingInt(string asGameSetting) native global

Parameters

 * asGameSetting: The name of the setting to get.

Return Value
None.

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