Difference between revisions of "GetGameSettingFloat - 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 float game setting == Syntax == <source lang="papyrus"> float Fu…')
 
imported>GigaPoint
Line 11: Line 11:


== Parameters ==
== Parameters ==
*asGameSetting: The name of the setting to get.
*asGameSetting: The name of the [[Category:Settings|setting]] to get.


== Return Value ==
== Return Value ==

Revision as of 21:41, 3 December 2013

Member of: Game Script

Obtains the value of the specified float game setting

Syntax

float Function GetGameSettingFloat(string asGameSetting) native global

Parameters

  • asGameSetting: The name of the to get.

Return Value

None.

Examples

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

See Also