• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Solved] I don't understand what's crashing here.

Status
Not open for further replies.

EdgeOfChaos

E

EdgeOfChaos

Nevermind, I found it right after posting. Please ignore this.
 

EdgeOfChaos

E

EdgeOfChaos

Ah, I read all code, refreshed, and then it was deleted? It was not a code issue, or?
Lol, I'm sorry. I didn't want to bother anyone since I found the issue right after.

If you're wondering.. I was using a trigger that detects when the splitter wave dies, and then splits into 3 waves (one spawns just like the initial one) and decrements splits count. And if splits if 0, then it just removes it. The issue was that if the unit should split, the unit was dying but not being removed and he was still in unit group, so he got pushed out of the map bounds and crashed it. I swear I had the code to remove the unit before, so I don't know what happened, but it's better now. It sucks too, I had spent like 2 days carefully debugging each of the boss's spells for something so simple.
 
Status
Not open for further replies.
Top