Difference between revisions of "RemoveNthEffectItem"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
imported>DragoonWraith
(note, see also SetSpellHostile)
 
(One intermediate revision by the same user not shown)
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]]
Line 15: Line 19:
[[Category:Magic Functions]]
[[Category:Magic Functions]]
[[Category:Magic Functions (OBSE)]]
[[Category:Magic Functions (OBSE)]]
[[Category:Magic Functions - Effect Item (OBSE)]]

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]