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

Description

Wiki Description

Obtains the value of the specified int 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("iMySetting = " + Game.GetGameSettingInt("iMySetting"))

Auto-Generated Example

string myString__asGameSetting

int returnedValue = Game.GetGameSettingInt(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.