Background for Skyrim SE
Member of the PO3_Events_AME script
eventOnMagicEffectApplyEx(ObjectReferenceakCaster, MagicEffectakEffect, FormakSource, boolabApplied)

Description

GitHub Wiki Description (PO3's PE)

  • akEffectFilter : matching magic effect, keyword, or a formlist containing keywords/magic effects. Filter can be NONE (but then it'll be the same as a regular OnMagicApply event)
  • abMatch : if true, the filter must match the hit, if false it must NOT match it (inverted filter)
  • bApplied will return if the magic effect was successfully applied or not

Registration Control Functions


Parameters

  1. ObjectReferenceakCaster

  2. MagicEffectakEffect

  3. FormakSource

  4. boolabApplied


Examples

Auto-Generated Example

Scriptname MyCoolScript extends PO3_Events_AME

event OnMagicEffectApplyEx(ObjectReference akCaster, MagicEffect akEffect, Form akSource, bool abApplied)
    Debug.trace("Event received - OnMagicEffectApplyEx: akCaster = " + akCaster + " akEffect = " + akEffect + " akSource = " + akSource + " abApplied = " + abApplied)
endEvent

Additional References

View this event 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.