OnMagicEffectApply - ObjectReference
Revision as of 14:15, 27 February 2016 by imported>Terra Nova2 (False alarm.)
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
- akCaster: The ObjectReference that is responsible for the spell.
- akEffect: The MagicEffect that is attempting to be applied.
ExamplesEdit
Event OnMagicEffectApply(ObjectReference akCaster, MagicEffect akEffect)
Debug.Trace(akCaster + " applied the " + akEffect + " on us")
EndEvent