GetGameSettingFloat - Game: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Egocarib
mNo edit summary
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
float Function GetGameSettingFloat(string asGameSetting) native global
float Function GetGameSettingFloat(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("fMySetting = " + Game.GetGameSettingFloat("fMySetting"))
Debug.Trace("fMySetting = " + Game.GetGameSettingFloat("fMySetting"))
</source>
</syntaxhighlight>


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

Navigation menu