Difference between revisions of "RemoveNthEffectItem"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(Added obse link)
imported>DragoonWraith
(note, see also SetSpellHostile)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
RemoveNthEffectItem - removes the specified effect item


'''Syntax:'''
'''Syntax:'''
Line 8: Line 6:
  (nothing) RemoveNthEffect magicItem:ref whichEffect:short
  (nothing) RemoveNthEffect magicItem:ref whichEffect:short


==See Also==
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]]
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]