Background for Fallout 4
Member of the Game script
floatfunctionGetGameSettingFloat(stringasGameSetting)NativeGlobal

Description

Wiki Description

Obtains the value of the specified float game setting

Documentation Comment

Obtains the value of a game setting - one for each type of game setting


Caveats


Parameters

stringasGameSetting

CK Wiki Description

The name of the setting to get.


Examples

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

Auto-Generated Example

string myString__asGameSetting

float returnedValue = Game.GetGameSettingFloat(myString__asGameSetting)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.