Difference between revisions of "Con RefreshINI"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(OBSE)
 
imported>Scruggs
(Resets changes made by setINISetting)
Line 4: Line 4:
  con_RefreshINI
  con_RefreshINI


Used to force Oblivion to reset its internal values based on the INI - useful if the INI has been changed with [[con_SetINISetting|SetINISetting]].
Used to force Oblivion to reset its internal values based on the contents of the Oblivion.ini file.
 
Note that OBSE's [[con_SetINISetting]] function does ''not'' change the contents of Oblivion.ini, so calling this function will reset any changes made using [[con_SetINISetting]].


==Example==
==Example==


  con_RefreshINI
  con_RefreshINI
Use after using SetINISetting.


==Notes==
==Notes==

Revision as of 15:28, 20 March 2007

A command for Oblivion Script Extender

Syntax:

con_RefreshINI

Used to force Oblivion to reset its internal values based on the contents of the Oblivion.ini file.

Note that OBSE's con_SetINISetting function does not change the contents of Oblivion.ini, so calling this function will reset any changes made using con_SetINISetting.

Example

con_RefreshINI

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 RefreshINI 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.