Difference between revisions of "SetNthEffectItemArea"
Jump to navigation
Jump to search
imported>Haama (Created) |
imported>Haama (Notes) |
||
Line 2: | Line 2: | ||
(nothing) SetNthEffectItemArea nuArea:long magicItem:ref whichEffect:short | (nothing) SetNthEffectItemArea nuArea:long magicItem:ref whichEffect:short | ||
(nothing) SetNthEIArea nuArea:long magicItem:ref whichEffect:short | (nothing) SetNthEIArea nuArea:long magicItem:ref whichEffect:short | ||
==Notes== | |||
* You can set the area of any magic item, even if it normally doesn't have a area and it's grayed out in the CS. This won't do anything or even appear in-game, but you can retrieve it with [[GetNthEffectItemArea]], making it a good way to store integer data. | |||
* (Unconfirmed, but likely) Using this function on a non-cloned spell (any spells from Oblivion.esm or mods) will change the duration of the spell, but only until the player re-loads their game. The most likely explanation is that Oblivion retrieves the spell's data from the mod/Oblivion.esm when loading, while cloned spells' data come from the save file itself. | |||
==See Also== | ==See Also== |
Revision as of 11:16, 31 August 2007
SetNthEffectItemArea - sets the area of the specified effect item
(nothing) SetNthEffectItemArea nuArea:long magicItem:ref whichEffect:short (nothing) SetNthEIArea nuArea:long magicItem:ref whichEffect:short
Notes
- You can set the area of any magic item, even if it normally doesn't have a area and it's grayed out in the CS. This won't do anything or even appear in-game, but you can retrieve it with GetNthEffectItemArea, making it a good way to store integer data.
- (Unconfirmed, but likely) Using this function on a non-cloned spell (any spells from Oblivion.esm or mods) will change the duration of the spell, but only until the player re-loads their game. The most likely explanation is that Oblivion retrieves the spell's data from the mod/Oblivion.esm when loading, while cloned spells' data come from the save file itself.