Tes3Mod:GetSpellEffects

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search


GetSpellEffects

                GetSpellEffects, SpellID

       Where:   SpellID = The spell you wish to check for.

        Type:   Magic

     Returns:   short

     Example:   if ( GetSpellEffects, "Burning Hand"  == 1 )
                set sValue to ( "Myn Farr"->GetSpellEffects, "Rust Chancre" )

     Scripts:   bulfimScript
                Example_NPC_Stuff

Returns 1 if the calling object is under the effect of the given spell, or 0 otherwise.

See Also: GetEffect, GetSpell