SetGameSettingFloat - Game

SKSE Member of: Game Script

Minimum required SKSE Version: 1.06.00

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

SyntaxEdit

Function SetGameSettingFloat(String setting, Float value) Global Native

ParametersEdit

  • Setting: The Game Setting to modify
  • Value: The desired float value

Return ValueEdit

None

ExamplesEdit

Game.SetGameSettingFloat("fMagicNightEyeAmbient", 0.50)

NotesEdit

  • 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.

See AlsoEdit