RemoveNthEffectItem

From the Oblivion ConstructionSet Wiki
Revision as of 10:43, 27 May 2008 by imported>DragoonWraith (note, see also SetSpellHostile)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(nothing) RemoveNthEffectItem magicItem:ref whichEffect:short
(nothing) RemoveNthEffect magicItem:ref whichEffect:short

Removes the specified effect item.

Notes

  • If a hostile effect is removed from a Spell so that it does not have any left, the Spell will not automatically become non-hostile. Use SetSpellHostile to update the hostility.

See Also