OnMagicEffectApply - ObjectReference

Member of: ObjectReference Script

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

SyntaxEdit

Event OnMagicEffectApply(ObjectReference akCaster, MagicEffect akEffect)

ParametersEdit

ExamplesEdit

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

See AlsoEdit