Difference between revisions of "Con SetINISetting"
Jump to navigation
Jump to search
imported>DragoonWraith |
imported>Scruggs (settings saved on normal exit) |
||
Line 11: | Line 11: | ||
The function does not change the contents of Oblivion.ini, and changes are not saved with the savegame. Thus, it may be necessary to reset the settings each time the game is loaded. | The function does not change the contents of Oblivion.ini, and changes are not saved with the savegame. Thus, it may be necessary to reset the settings each time the game is loaded. | ||
If Oblivion exits normally (without the typical CTD) the game will save any modified settings to the .ini file. | |||
==Example== | ==Example== |
Latest revision as of 20:26, 4 July 2009
A command for Oblivion Script Extender
Syntax:
con_SetINISetting "Setting:Category" value
Sets the desired setting in Oblivion.ini to the desired value while in game.
The setting must be quoted and must specify the specific setting first, followed by a colon and the heading under which the setting appears in the Oblivion.ini file.
This function works with numeric settings only; it cannot take a string as the second parameter.
The function does not change the contents of Oblivion.ini, and changes are not saved with the savegame. Thus, it may be necessary to reset the settings each time the game is loaded.
If Oblivion exits normally (without the typical CTD) the game will save any modified settings to the .ini file.
Example[edit | edit source]
con_SetINISetting "bAllowHavokGrabTheLiving:Gameplay" 1
Allows the player to drag unconscious actors using the "grab" key.
Notes[edit | edit source]
- Due to limitations of the Wiki software, the title of this article, and links to it, cannot display it correctly - there is an underscore (_) in the function's name.
- This function is identical to the SetINISetting Console Function, and should behave as if you had called that function from the console.
- This function was not designed to be run from scripts, and so may not work as expected.