GetBaseObject - ActiveMagicEffect

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: ActiveMagicEffect Script

Obtains the MagicEffect this active magic effect is based on.

Syntax[edit | edit source]

MagicEffect Function GetBaseObject() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

The MagicEffect this active effect is based on.

Examples[edit | edit source]

; Obtain the magic effect the active effect is based on
MagicEffect lightEffect = ActiveLightEffect.GetBaseObject()

Notes[edit | edit source]

  • If the duration of a magic effect is 0, or if a magic effect has the No Duration flag, this function returns none.

See Also[edit | edit source]