Script not working reliably

Post » Tue Apr 09, 2013 9:41 pm

I have written a script that is attacked to a creature and actually works fine, but most of the time it just does not fire ingame. Among other things I have an onDeath event, so I always test it by killing the creature with the console and on the first try it sometimes works but after that - nothing.

I also had a similar issue with OOOs BossBuffScripts. I have the game in German and noticed that the scripts were translated in the esp but still appeared in English ingame, so I recompiled the scripts, but after that everything except the onStartCombat block stopped working.

Now I tried deleting all lines with references to other actors from my script and suddenly it worked three times in a row. Is referencing actors bugged?

OOOs boss scripts usually include references too so that would explain why they stopped working. How can I correct that?
User avatar
naomi
 
Posts: 3400
Joined: Tue Jul 11, 2006 2:58 pm

Return to IV - Oblivion