Con SetINISetting
Revision as of 05:25, 15 September 2007 by imported>WereWolf
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.
Example
con_SetINISetting "bAllowHavokGrabTheLiving:Gameplay" 1
Allows the player to drag unconscious actors using the "grab" key.
Notes
- 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.