Difference between revisions of "OnMagicEffectApply - ObjectReference"
Jump to navigation
Jump to search
imported>Terra Nova2 m (→Notes) |
imported>Terra Nova2 m (False alarm.) |
||
Line 21: | Line 21: | ||
EndEvent | EndEvent | ||
</source> | </source> | ||
== See Also == | == See Also == | ||
*[[ObjectReference Script]] | *[[ObjectReference Script]] |
Latest revision as of 15:15, 27 February 2016
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]
- akCaster: The ObjectReference that is responsible for the spell.
- akEffect: The MagicEffect that is attempting to be applied.
Examples[edit | edit source]
Event OnMagicEffectApply(ObjectReference akCaster, MagicEffect akEffect)
Debug.Trace(akCaster + " applied the " + akEffect + " on us")
EndEvent