Difference between revisions of "OnEffectFinish - ActiveMagicEffect"

m
Restored note (I think it's good to keep both the old and the new note on the page -- the original one is probably much less confusing for newer modders.)
imported>Lampuiho
imported>Egocarib
m (Restored note (I think it's good to keep both the old and the new note on the page -- the original one is probably much less confusing for newer modders.))
Line 23: Line 23:


== Notes ==
== Notes ==
*By the time this event is called, the active magic effect may have already been deleted by the game. Any native calls to this active magic effect may fail.
*None of the ActiveMagicEffect script native function may run in this event even though the internal ActiveEffect object is not deleted if the effect is simply disabled, not dispelled. The papyrus script object itself is detached after oneffectfinish completes, resetting all properties and script object variables.
*None of the ActiveMagicEffect script native function may run in this event even though the internal ActiveEffect object is not deleted if the effect is simply disabled, not dispelled. The papyrus script object itself is detached after oneffectfinish completes, resetting all properties and script object variables.
*This event is also called when the owning spell is removed from the target or when its conditions become invalid.
*This event is also called when the owning spell is removed from the target or when its conditions become invalid.
Anonymous user