Open main menu

UESPWiki β

GetEffect

        GetEffect, EffectID

Where:  EffectID = Magic effect to check for, use the following values:

sEffectAbsorbAttribute          sEffectAbsorbFatigue            sEffectAbsorbHealth
sEffectAbsorbSkill              sEffectAbsorbSpellPoints        sEffectAlmsiviIntervention
sEffectBlind                    sEffectBoundBattleAxe           sEffectBoundBoots
sEffectBoundCuirass             sEffectBoundDagger              sEffectBoundGloves
sEffectBoundHelm                sEffectBoundLongbow             sEffectBoundLongsword
sEffectBoundMace                sEffectBoundShield              sEffectBoundSpear  
sEffectBurden                   sEffectCalmCreature             sEffectCalmHumanoid
sEffectChameleon                sEffectCharm                    sEffectCommandCreatures   
sEffectCommandHumanoids         sEffectCorpus                   sEffectCureBlightDisease
sEffectCureCommonDisease        sEffectCureCorprusDisease       sEffectCureParalyzation
sEffectCurePoison               sEffectDamageAttribute          sEffectDamageFatigue
sEffectDamageHealth             sEffectDamageMagicka            sEffectDamageSkill  
sEffectDemoralizeCreature       sEffectDemoralizeHumanoid       sEffectDetectAnimal
sEffectDetectEnchantment        sEffectDetectKey                sEffectDisintegrateArmor  
sEffectDisintegrateWeapon       sEffectDispel                   sEffectDivineIntervention
sEffectDrainAttribute           sEffectDrainFatigue             sEffectDrainHealth     
sEffectDrainSkill               sEffectDrainSpellpoints         sEffectExtraSpell
sEffectFeather                  sEffectFireDamage               sEffectFireShield
sEffectFortifyAttackBonus       sEffectFortifyAttribute         sEffectFortifyFatigue 
sEffectFortifyHealth            sEffectFortifyMagickaMultiplier sEffectFortifySkill  
sEffectFortifySpellpoints       sEffectFrenzyCreature           sEffectFrenzyHumanoid
sEffectFrostDamage              sEffectFrostShield              sEffectInvisibility
sEffectJump                     sEffectLevitate                 sEffectLight
sEffectLightningShield          sEffectLock                     sEffectMark
sEffectNightEye                 sEffectOpen                     sEffectParalyze
sEffectPoison                   sEffectRallyCreature            sEffectRallyHumanoid
sEffectRecall                   sEffectReflect                  sEffectRemoveCurse
sEffectResistBlightDisease      sEffectResistCommonDisease      sEffectResistCorprusDisease
sEffectResistFire               sEffectResistFrost              sEffectResistMagicka
sEffectResistNormalWeapons      sEffectResistParalysis          sEffectResistPoison
sEffectResistShock              sEffectRestoreAttribute         sEffectRestoreFatigue 
sEffectRestoreHealth            sEffectRestoreSkill             sEffectRestoreSpellPoints
sEffectSanctuary                sEffectShield                   sEffectShockDamage
sEffectSilence                  sEffectSlowFall                 sEffectSoultrap
sEffectSound                    sEffectSpellAbsorption          sEffectStuntedMagicka
sEffectSummonAncestralGhost     sEffectSummonBonelord           sEffectSummonCenturionSphere
sEffectSummonClannfear          sEffectSummonDaedroth           sEffectSummonDremora
sEffectSummonFlameAtronach      sEffectSummonFrostAtronach      sEffectSummonGoldensaint
sEffectSummonGreaterBonewalker  sEffectSummonHunger             sEffectSummonLeastBonewalker
sEffectSummonScamp              sEffectSummonSkeletalMinion     sEffectSummonStormAtronach
sEffectSummonWingedTwilight     sEffectSunDamage                sEffectSwiftSwim
sEffectTelekinesis              sEffectTurnUndead               sEffectVampirism
sEffectWaterBreathing           sEffectWaterWalking             sEffectWeaknessToBlightDisease
sEffectWeaknessToCommonDisease  sEffectWeaknessToCorprusDisease sEffectWeaknessToFire
sEffectWeaknessToFrost          sEffectWeaknessToMagicka        sEffectWeaknessToNormalWeapons
sEffectWeaknessToPoison         sEffectWeaknessToShock

BloodMoon:

sEffectSummonCreature01         sEffectSummonCreature02         sEffectSummonCreature03
sEffectSummonCreature04         sEffectSummonCreature05

Type:           Magic

Returns:        short

Example:        if ( GetEffect, sEffectSilence == 1 )
                set sValue to ( "cienne sintieve"->GetEffect, sEffectShield != 0 )

Scripts:        Example_NPC_Stuff
                shrineTemple

Returns 1 if the given spell effect is currently on the calling object. Do not confuse effects and spells (effects are what make up the spells). You can also use an exact literal value for the EffectID if you know it.

See Also: GetSpell, GetSpellEffects

BugsEdit

See the discussion tab on this page for notes on a bug encountered when testing OnDeath & GetEffect in the same frame.
Appears to be broken for fatigue related effects?
object->getEffect, sEffectSoultrap always returns 0.00
object->getEffect, sEffectTurnUndead also returns 0.00