HasMagicEffect

From the CreationKit Wiki
Revision as of 15:13, 28 February 2013 by imported>Catwheezle (Syntax fix on the example. I think, at least, that the stuff in braces is meant to be a comment.)
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.

Papyrus Version

HasMagicEffect

See Also

IsSpellTarget
OnMagicEffectHit