Background for Skyrim SE
Member of the Game script
voidfunctionSetGameSettingFloat(stringsetting, floatvalue)NativeGlobal

Description

Wiki Description

Modifies the value of float Game Settings. (This function requires SKSE)

Documentation Comment

GameSetting functions - SKSE 1.5.10


Caveats

CK Wiki - Notes

  • Edits to Game Settings are not saved. While they'll persist across consecutive save loads during the same game session, they'll be wiped when the game closes and will revert to their normal values the next time the game is loaded. One can maintain such edits via a maintenance function, reapplying the changes when necessary.

Parameters

stringsetting

CK Wiki Description

The Game Setting to modify

floatvalue

CK Wiki Description

The desired float value


Examples

Game.SetGameSettingFloat("fMagicNightEyeAmbient", 0.50)

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 Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.