SetNthEffectItemRange

From the Oblivion ConstructionSet Wiki
Revision as of 20:16, 18 February 2008 by imported>Quetzilla
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(nothing) SetNthEffectItemRange nuRange:short magicItem:ref whichEffect:short
(nothing) SetNthEIRange nuRange:short magicItem:ref whichEffect:short

Sets the range of the specified effect item.

Ranges:
 0:    Self
 1:    Touch
 2:    Target

Notes

  • If you set the range of a weapon enchantment item (which are always 1:Touch ranged in the CS) to 0:Self, the effect will apply as a Self-ranged effect, but will still be listed as 'On Strike' in the game UI. The effect will still only trigger on a successful hit with the weapon, and will not work as a constant effect.

See Also

GetNthEffectItemRange