Hey guys!
I was wondering if there is a cleaner or more efficient way on handling a specific unit throughout the game.
I am currently working with a unit-group array that has a unit group for every player in which the main hero of every player is stored.
Here's the way I'm storing them:
I was wondering if there is a cleaner or more efficient way on handling a specific unit throughout the game.
I am currently working with a unit-group array that has a unit group for every player in which the main hero of every player is stored.
Here's the way I'm storing them:
-
Unit Group - Add (tempUnit) to UnitGroupArray[tempInteger]
-
Unit Group - Pick every unit in UnitGroupArray[tempInteger] and do (Action)
Last edited: