RemoveSpellEffects2

From NWN Lexicon


Contents

[edit] RemoveSpellEffects2(int, object, object, int, int)

Advanced version of RemoveSpellEffects to handle multiple spells.

void RemoveSpellEffects2(
    int nSpell_ID,
    object oCaster,
    object oTarget,
    int nSpell_ID2,            
    int nSpell_ID3
);

[edit] Parameters

nSpell_ID

SPELL_* The first spell to check for.

oCaster

The object that cast the spells you want to test for.

oTarget

The object to test for active spells.

nSpell_ID2

SPELL_* The second spell to check for.

nSpell_ID3

SPELL_* The third spell to check for.


[edit] Description

Advanced version of RemoveSpellEffects to handle multiple spells.



[edit] Remarks

Cycles through all the effects on oTarget that were cast by oCaster and removes any that match the three nSpell_IDs.


[edit] Requirements

#include " x0_i0_spells "


[edit] Version

???

[edit] See Also

functions: 

RemoveSpellEffects

constants: 

SPELL_*



author: Mistress

Personal tools
Categories