OnMagicEffectApply - ObjectReference

Revision as of 18:48, 24 October 2011 by imported>Jlundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ObjectReference Script

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

Syntax

Event OnMagicEffectApply(ObjectReference akCaster, MagicEffect akEffect)

Parameters

Examples

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

See Also