Background for Fallout 4
Member of the Game script
voidfunctionSetGameSettingFloat(stringsetting, floatvalue)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.SetINIFloat(...).


Caveats


Parameters

stringsetting

CK Wiki Description

Placeholder Description.

floatvalue

CK Wiki Description

Placeholder Description.


Examples

;Set Actor Teleport Fade Seconds
Game.SetGameSettingBool("fActorTeleportFadeSeconds", 1.5)

Auto-Generated Example

string myString__setting
float myFloat__value

Game.SetGameSettingFloat(myString__setting, myFloat__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.