OnMagicEffectApply - ObjectReference
Revision as of 13:28, 13 March 2012 by imported>Kahmul
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
- akCaster: The ObjectReference that is responsible for the spell.
- akEffect: The MagicEffect that is attempting to be applied.
Examples
Event OnMagicEffectApply(ObjectReference akCaster, MagicEffect akEffect)
Debug.Trace(akCaster + " applied the " + akEffect + " on us")
EndEvent