• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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