IsharaMeradin Posted December 2, 2012 Share Posted December 2, 2012 (edited) I've been tinkering with magicsoultrapfxscript to not only prevent smaller souls going into larger gems as Acquisitive Soul Gems does, but to also break smaller gems when the right size isn't present. Eventually, I'll make the gem break random & rare but for now I need to get working consistently on target death. The problem: when using enchanted weapons the effect lasts as long as the enchantment on the weapon. Any pause in the constant attacks long enough to finish the effect timer causes a "failure" and that incorrectly triggers a gem break. Is there any way to determine when the TARGET of the effect has died so that my gem break only triggers then? The script as I have it now tries to prevent multiple instances by making it check for a specific value of a growing variable # that increases with each failure. Making that too high means it won't ever happen & making it too low means that it might happen but while the target can still have plenty of health. I need it on death and only on death. But the OnDeath event even if it can run from an ActiveMagicEffect extended script didn't do anything, didn't even get a simple trace to show up in the log. If anyone has any ideas & would like to help here is the script as it stands right now (tho with a value of 10 a gem may never break) Figured it out. I just needed a good break from it and to re-read some wiki entries Edited December 2, 2012 by IsharaMeradin Link to comment Share on other sites More sharing options...
Recommended Posts