Difference between revisions of "HasMagicEffect"
Jump to navigation
Jump to search
imported>Cipscis (Added link to Papyrus version) |
imported>Catwheezle (Syntax fix on the example. I think, at least, that the stuff in braces is meant to be a comment.) |
||
Line 5: | Line 5: | ||
ActorRef.HasMagicEffect EffectID | ActorRef.HasMagicEffect EffectID | ||
==Example:== | ==Example:== | ||
Player.HasMagicEffect 000B729D (FrostSlowConcAimed) | Player.HasMagicEffect 000B729D ; (FrostSlowConcAimed) | ||
Returns 1 if the calling reference is currently being affected by the given magic effect. | Returns 1 if the calling reference is currently being affected by the given magic effect. |
Revision as of 15:13, 28 February 2013
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.