Difference between revisions of "RemoveNthEffectItem"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Removed category Function, oops)
imported>DragoonWraith
(note, see also SetSpellHostile)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
RemoveNthEffectItem - removes the specified effect item
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
        (nothing) RemoveNthEffectItem magicItem:ref whichEffect:short
        (nothing) RemoveNthEffect magicItem:ref whichEffect:short


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


[[Category:Functions]]
[[Category:Functions (OBSE)]]
[[Category:Functions (OBSE)]]
[[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]