Con GetINISetting

From the Oblivion ConstructionSet Wiki
Revision as of 16:07, 12 August 2006 by imported>DragoonWraith (alphabetizing)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

con_GetINISetting Setting value

Gets the desired setting in Oblivion.ini while in game.

Example

con_GetINISetting Activate

Returns the hexadecimal value for the key Activate is mapped to.

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 GetINISetting 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.
  • Furthermore, many INI settings are not storable in any form of variable, and Oblivion's reaction to calling a function that returns such a value is unknown.