GetCasterActor - ActiveMagicEffect

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: ActiveMagicEffect Script

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

Syntax[edit | edit source]

Actor Function GetCasterActor() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

The Actor that cast the spell this effect is from.

Examples[edit | edit source]

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

See Also[edit | edit source]