GetBaseObject - ActiveMagicEffect

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