Difference between revisions of "Con SetINISetting"

526 bytes added ,  16:32, 20 March 2007
Corrected syntax; not for string values; changes not saved
imported>DragoonWraith
(alphabetizing)
imported>Scruggs
(Corrected syntax; not for string values; changes not saved)
Line 2: Line 2:


'''Syntax:'''
'''Syntax:'''
  con_SetINISetting Setting value
  con_SetINISetting "Setting:Category" value


Sets the desired setting in Oblivion.ini to the desired value while in game.
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==
==Example==


  con_SetINISetting bCrossHair 0
  con_SetINISetting "bAllowHavokGrabTheLiving:Gameplay" 1


Turns off the crosshair.
Allows the player to drag unconscious actors using the "grab" key.


==Notes==
==Notes==
Anonymous user