Background for Fallout 4
Member of the Game script
voidfunctionSetGameSettingString(stringsetting, stringvalue)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.SetINIString(...).


Caveats


Parameters

stringsetting

CK Wiki Description

Placeholder Description.

stringvalue

CK Wiki Description

Placeholder Description.


Examples

; Set string for when an item is too heavy
Game.SetGameSettingString("sItemTooHeavy", "This item is too heavy for a mere man to move!")

Auto-Generated Example

string myString__setting
string myString__value

Game.SetGameSettingString(myString__setting, myString__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.