For example, I have some actor. I cast Spell A on the actor, which persists for some duration and runs a script that uses OnUpdate() to check some value at certain intervals. While Effect A is active on the target, I cast spell B, which has another script that dispels itself after some time defined in the script, using registerforsingleupdate(Duration) and Event OnUpdate() Dispel() EndEvent.
Will spell B get removed by the updates every 0.15 seconds from spell A? Or are the updates specific to the magic effect, and not the actor?
Also, why do people use DisableNoWait() before using Delete()? And is it possible to call a function on a magic effect script from another magic effect script (I couldn't find a way to retrieve an active effect on an actor as a reference so that I could cast it as a script and call a user defined function in it).
