IsSpellTargetAlt
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
An alternate version of the vanilla function IsSpellTarget, that actually works reliably and as advertised. Returns 1 if the calling reference is currently being affected by the specified magic item (an Actor Effect (spell), an Object Effect (enchantment), or an Ingestible (food, drink, chem)).
Syntax
(spellTarget:0/1) reference.IsSpellTargetAlt effectForm:ref
Example
set bSpellTarget to actorRef.IsSpellTargetAlt WithdrawalAlcohol