OnEffectStart - ActiveMagicEffect

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)

Member of: ActiveMagicEffect Script

Event called when the active magic effect has just started on the specified target.

Syntax

Event OnEffectStart(Actor akTarget, Actor akCaster)

Parameters

  • akTarget: The Actor this effect was applied to.
  • akCaster: The Actor that cast the spell this effect was from.

Examples

Event OnEffectStart(Actor akTarget, Actor akCaster)
  Debug.Trace("Magic effect was started on " + akTarget)
endEvent

See Also