SetNumericGameSetting

Revision as of 09:33, 31 August 2006 by imported>JOG
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A command for Oblivion Script Extender

Syntax:

SetNumericGameSetting GMST value

Sets the desired game setting to the desired value while in game.

Example

SetNumericGameSetting iMagicMaxSummonedCreatureTypes 10
SetNumericGameSetting iMagicMaxSummonedCreatureTypes Variable

Sets the limit on the number of summonable creatures to 10.

Notes

  • This function is identical to Con_SetGameSetting with the difference that it accepts variables as well as numeric values.
  • Changes made to game settings with this function will not be included in the savegame file, so if you want to make a permanent change to a game setting you will need code to update the value after a savegame is reloaded.


See Also

Con_SetGameSetting

GetGameSetting