OnMagicEffectApply - ObjectReference

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Event called when a magic effect is about to be applied to the object reference.

Syntax[edit | edit source]

Event OnMagicEffectApply(ObjectReference akCaster, MagicEffect akEffect)

Parameters[edit | edit source]

Examples[edit | edit source]

Event OnMagicEffectApply(ObjectReference akCaster, MagicEffect akEffect)
  Debug.Trace(akCaster + " applied the " + akEffect + " on us")
EndEvent

See Also[edit | edit source]