OnEffectFinish - ActiveMagicEffect

From the CreationKit Wiki
Revision as of 15:26, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

See Also