GetCasterActor - ActiveMagicEffect

From the Fallout4 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()

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]