GetCasterActor - ActiveMagicEffect

From Creation Kit
Jump to: navigation, search

Member of: ActiveMagicEffect Script

Obtains the Actor that cast the spell this effect is from.

Syntax

Actor Function GetCasterActor()

Parameters

None

Return Value

The Actor that cast the spell this effect is from.

Examples

; Obtain the caster of the active fire effect
Actor caster = ActiveFireEffect.GetCasterActor()

See Also