Background for Skyrim SE
Member of the PO3_SKSEFunctions script
Form[]functionGetMagicEffectSource(ObjectReferenceakRef, MagicEffectakEffect)NativeGlobal

Description

GitHub Wiki Description (PO3's PE)

  • Gets the source of the magic effect (spell/enchantment/scroll etc) and the caster.
  • Magic effect must be present on the reference.

Caveats


Parameters


Examples

Auto-Generated Example

ObjectReference myObjectReference__akRef
MagicEffect myMagicEffect__akEffect

Form[] returnedValue = PO3_SKSEFunctions.GetMagicEffectSource(myObjectReference__akRef, 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.