Difference between revisions of "RemoveNthEffectItem"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Created)
 
imported>DragoonWraith
(note, see also SetSpellHostile)
 
(6 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:'''
* [[RemoveAllEffectitems]]
(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]]
* [[SetSpellHostile]]


[[Category:Functions]]
[[Category:Functions]]
Line 10: 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]