RemoveSpellEffects

From NWN Lexicon



Contents

[edit] RemoveSpellEffects(int, object, object)

Removes the effects of a spell cast on a creature.

void RemoveSpellEffects(
    int nSpellID,
    object oCaster,
    object oTarget
);

[edit] Parameters

nSpellID

The spell whose effects are to be removed. SPELL_*

oCaster

The caster of the spell.

oTarget

The target of the spell who has the effects that are going to be removed.


[edit] Description

RemoveSpellEffects searchs through the effects on oTarget and removes those effects that were caused by the spell nSpell_ID and cast by oCaster.



[edit] Remarks

nw_i0_spells.nss: 21


[edit] Requirements

#include " nw_i0_spells "

[edit] Version

1.22

[edit] See Also

functions: 

RemoveSpellEffects2



 author: Tom Cassiotis, editors: Mistress, Kolyana
 

Personal tools
Categories