Difference between revisions of "OnEffectFinish - ActiveMagicEffect"
Jump to navigation
Jump to search
imported>Rhavlovick m (1 revision: Clobber re-import by Henning) |
imported>Nitor |
||
Line 23: | Line 23: | ||
== Notes == | == Notes == | ||
By the time this event is called, the active magic effect may have already been deleted by the game. Any native calls to this active magic effect may fail. | *By the time this event is called, the active magic effect may have already been deleted by the game. Any native calls to this active magic effect may fail. | ||
*This event is also called when the owning spell is removed from the target or when its conditions become invalid. | |||
== See Also == | == See Also == | ||
*[[ActiveMagicEffect Script]] | *[[ActiveMagicEffect Script]] | ||
*[[OnEffectStart - ActiveMagicEffect]] | *[[OnEffectStart - ActiveMagicEffect]] |
Revision as of 00:08, 28 March 2012
Member of: ActiveMagicEffect Script
Event called when the active magic effect has just finished on the specified target.
Syntax
Event OnEffectFinish(Actor akTarget, Actor akCaster)
Parameters
- akTarget: The Actor this effect just finished on.
- akCaster: The Actor that cast the spell this effect is from.
Examples
Event OnEffectFinish(Actor akTarget, Actor akCaster)
Debug.Trace("Magic effect fades from " + akTarget)
endEvent
Notes
- By the time this event is called, the active magic effect may have already been deleted by the game. Any native calls to this active magic effect may fail.
- This event is also called when the owning spell is removed from the target or when its conditions become invalid.