GetGameSettingFloat - Game

Member of: Game Script

Obtains the value of the specified float game setting

SyntaxEdit

float Function GetGameSettingFloat(string asGameSetting) native global

ParametersEdit

  • asGameSetting: The name of the setting to get.

Return ValueEdit

None.

ExamplesEdit

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

See AlsoEdit