GetBaseObject - ActiveMagicEffect

Revision as of 07:57, 13 July 2023 by Ingvion (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ActiveMagicEffect Script

Obtains the MagicEffect this active magic effect is based on.

SyntaxEdit

MagicEffect Function GetBaseObject() native

ParametersEdit

None

Return ValueEdit

The MagicEffect this active effect is based on.

ExamplesEdit

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

NotesEdit

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

See AlsoEdit