Difference between revisions of "SetGameSettingFloat - Game"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>JustinOther
m (→‎See Also: →‎See Also: Removed GetGameSettingBool)
imported>JustinOther
m (SKSE version template added)
Line 3: Line 3:
[[Category:SKSE]]
[[Category:SKSE]]
'''SKSE Member of:''' [[Game Script]]
'''SKSE Member of:''' [[Game Script]]
{{SKSEFunction|1.06.00}}


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

Revision as of 19:34, 25 January 2013

SKSE Member of: Game Script

Minimum required SKSE Version: 1.06.00

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

Syntax

Function SetGameSettingInt(String setting, Float value) Global Native

Parameters

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

Return Value

None

Examples

Game.SetGameSettingFloat("fMagicNightEyeAmbient", 0.50)

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.

See Also