Background for Fallout 4
Member of the Game script
voidfunctionSetGameSettingInt(stringsetting, intvalue)NativeGlobal

Description

Wiki Description

This function sets a Game Setting to the specified value.

These include all the variables listed under Gameplay->Settings menu in the creation kit, but *does not* include variables set in the ini files. To set ini variables see Utility.SetINIInt(...).


Caveats


Parameters

stringsetting

CK Wiki Description

Placeholder Description.

intvalue

CK Wiki Description

Placeholder Description.


Examples

; Sets the Arrow Max Count to 11
Game.SetGameSettingInt("iArrowMaxCount", 11)

Auto-Generated Example

string myString__setting
int myInt__value

Game.SetGameSettingInt(myString__setting, myInt__value)

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.