Difference between revisions of "GetGameSettingFloat - Game"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Egocarib
m (additional links)
imported>Egocarib
m
 
Line 25: Line 25:
*[[Game Script]]
*[[Game Script]]
*[[Settings|Game Settings]]
*[[Settings|Game Settings]]
*[[GetGameSettingFloat - Game]]
*[[SetGameSettingFloat - Game]]
*[[SetGameSettingFloat - Game]]
*[[GetGameSettingInt - Game]]
*[[GetGameSettingInt - Game]]

Latest revision as of 01:05, 4 December 2013

Member of: Game Script

Obtains the value of the specified float game setting

Syntax[edit | edit source]

float Function GetGameSettingFloat(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("fMySetting = " + Game.GetGameSettingFloat("fMySetting"))

See Also[edit | edit source]