RemoveAnySpellEffects

From NWN Lexicon


Contents

[edit] RemoveAnySpellEffects(int, object)

Doesn't care who the caster was; removes the effects of the specified spell.

void RemoveAnySpellEffects(
    int nSpell_ID,
    object oTarget
);

[edit] Parameters

nSpell_ID

SPELL_*

oTarget

The object to investigate.


[edit] Description

Doesn't care who the caster was; removes the effects of the specified spell.

Ignores the subtype as well.



[edit] Remarks

Cycles through all the effects on oTarget and removes any that match nSpell_ID.


[edit] Requirements

#include " x0_i0_spells "


[edit] Version

???

[edit] See Also

functions: 

RemoveEffect

constants: 

SPELL_*



author: Mistress

Personal tools
Categories