Background for Skyrim SE
Member of the PO3_SKSEFunctions script
boolfunctionHasActiveMagicEffect(ActorakActor, MagicEffectakEffect)NativeGlobal

Description

GitHub Wiki Description (PO3's PE)

  • HasMagicEffect but checks if the mgef is present on the actor (i.e active and not dispelled)

Caveats


Parameters

ActorakActor

MagicEffectakEffect


Examples

Auto-Generated Example

Actor myActor__akActor
MagicEffect myMagicEffect__akEffect

bool returnedValue = PO3_SKSEFunctions.HasActiveMagicEffect(myActor__akActor, myMagicEffect__akEffect)

Additional References

View this function on the GitHub Wiki for powerofthree's Papyrus Extender

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.