- Joined
- Dec 2, 2016
- Messages
- 733
In the game I'm working on the human players which can be 10 players. Each can train about 80 units or so, and they all have a detonate ability. When they use that ability it kills the unit, does the game automatically remove the leak if it's not done via trigger. Or will I have to add these units to a unit group and delete it via a trigger?
If that's the case, is the best way of doing this using an array of 10 indexes. And adding the dead units to the specific index unit group and then removing the unit group everytime the detonate spell is casted?
^ I can word that better if it doesn't make sense.
If that's the case, is the best way of doing this using an array of 10 indexes. And adding the dead units to the specific index unit group and then removing the unit group everytime the detonate spell is casted?
^ I can word that better if it doesn't make sense.