HasMagicEffect

From the CreationKit Wiki
Revision as of 17:10, 2 December 2011 by imported>Scornett-Bot (Script running global find and replace: = for '''=)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Returns 1 if the calling reference is currently being affected by the given magic effect.

Syntax:

ActorRef.HasMagicEffect EffectID 

Example:

Player.HasMagicEffect 000B729D (FrostSlowConcAimed)

Returns 1 if the calling reference is currently being affected by the given magic effect.

See Also

IsSpellTarget
OnMagicEffectHit