GetGameSettingInt - Game: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Egocarib
m (additional links)
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
int Function GetGameSettingInt(string asGameSetting) native global
int Function GetGameSettingInt(string asGameSetting) native global
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 17: Line 17:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Print out the value of a game setting to the log
; Print out the value of a game setting to the log
Debug.Trace("iMySetting = " + Game.GetGameSettingInt("iMySetting"))
Debug.Trace("iMySetting = " + Game.GetGameSettingInt("iMySetting"))
</source>
</syntaxhighlight>


== See Also ==
== See Also ==

Navigation menu