Difference between revisions of "SetGameSettingFloat - Game"
Jump to navigation
Jump to search
imported>JustinOther (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Game Script Modifies the value of float Game Settings. (This function req...") |
imported>Tktk m (spelling mistake) |
||
(2 intermediate revisions by one other user not shown) | |||
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) | ||
Line 8: | Line 10: | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function | Function SetGameSettingFloat(String setting, Float value) Global Native | ||
</source> | </source> | ||
Line 29: | Line 31: | ||
*[[Game Script]] | *[[Game Script]] | ||
*[[Settings|Game Settings]] | *[[Settings|Game Settings]] | ||
*[[GetGameSettingFloat - Game]] | *[[GetGameSettingFloat - Game]] | ||
*[[GetGameSettingInt - Game]] | *[[GetGameSettingInt - Game]] |
Latest revision as of 07:00, 14 April 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[edit | edit source]
Function SetGameSettingFloat(String setting, Float value) Global Native
Parameters[edit | edit source]
- Setting: The Game Setting to modify
- Value: The desired float value
Return Value[edit | edit source]
None
Examples[edit | edit source]
Game.SetGameSettingFloat("fMagicNightEyeAmbient", 0.50)
Notes[edit | edit source]
- 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.