Difference between revisions of "Con SetINISetting"
Jump to navigation
Jump to search
imported>WereWolf |
imported>DragoonWraith |
||
Line 26: | Line 26: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (OBSE)]] | [[Category:Functions (OBSE)]] | ||
[[Category: | [[Category:Console Functions (OBSE)]] | ||
Revision as of 04:24, 23 April 2008
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.