Difference between revisions of "GetGameSettingInt - Game"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
(Created page with 'Category:Scripting Category:Papyrus '''Member of:''' Game Script Obtains the value of the specified int game setting == Syntax == <source lang="papyrus"> int Functi…')
 
imported>Egocarib
m (additional links)
 
Line 24: Line 24:
== See Also ==
== See Also ==
*[[Game Script]]
*[[Game Script]]
*[[Settings|Game Settings]]
*[[GetGameSettingFloat - Game]]
*[[GetGameSettingFloat - Game]]
*[[SetGameSettingFloat - Game]]
*[[SetGameSettingInt - Game]]
*[[GetGameSettingString - Game]]
*[[GetGameSettingString - Game]]
*[[SetGameSettingString - Game]]

Latest revision as of 01:06, 4 December 2013

Member of: Game Script

Obtains the value of the specified int game setting

Syntax[edit | edit source]

int Function GetGameSettingInt(string asGameSetting) native global

Parameters[edit | edit source]

  • asGameSetting: The name of the setting to get.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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

See Also[edit | edit source]