This is a great and complicated script with most variables. This is real AI! Congratulation pyrotx! The only issue is CTD.
I don't use esp, only used the script to an NPC I've created.
For help other users, that with pyrotx permission, have the same issues, I've limited it, to reduce number Teleport AI. So I've increased Minhit and Maxhit, 10 and 15. Time to 120 sec, update script the same. So game crash rarely during combat.
This is probably a scripting limitation in your game. Maybe your cpu? Works perfect for me. Anyways, do you know how to fix the bug where the enemy puts away their weapons every time they teleport?
I think that bug is caused by the npc technically ending combat when they teleport. I'm not sure if it can be stopped completely, but it might be able to be reduced by adding a forced initiate combat line of code. If I get back into updating this ill try to fix that, or if anyone wants to alter the code and reupload it before then that would also be fine.
5 comments
Congratulation pyrotx!
The only issue is CTD.
I don't use esp, only used the script to an NPC I've created.
For help other users, that with pyrotx permission, have the same issues, I've limited it, to reduce number Teleport AI.
So I've increased Minhit and Maxhit, 10 and 15. Time to 120 sec, update script the same.
So game crash rarely during combat.
The problem isn't solved, only limited it!