Difference between revisions of "RemoveNthEffectItem"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
imported>DragoonWraith
(note, see also SetSpellHostile)
 
Line 8: Line 8:
Removes the specified effect item.
Removes the specified effect item.


==See Also==
== 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 ==
* [[RemoveAllEffectItems]]
* [[RemoveAllEffectItems]]
* [[SetSpellHostile]]


[[Category:Functions]]
[[Category:Functions]]

Latest revision as of 10:43, 27 May 2008

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[edit | edit source]

  • 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[edit | edit source]