I need to find the center point between units in a unit group if that's possible. There are 4 units in this group.
This is because I need the Large units (see vid: Wolf rider taking up grid space 2x2) in my map to walk there and be centered when player issues a move order within the active grid space (blue squares).
The grid is all units with Locust on them, the ones the mouse is over are all put in a Unit Group.
It's simple when centering a small unit in a 1x1 grid square because all i need is the position of that one Grid Unit.. but cant wrap my head around how I would do it with the point in between 4.
NOTE: The single unit centering was not fixed at the time of this recording
This is because I need the Large units (see vid: Wolf rider taking up grid space 2x2) in my map to walk there and be centered when player issues a move order within the active grid space (blue squares).
The grid is all units with Locust on them, the ones the mouse is over are all put in a Unit Group.
It's simple when centering a small unit in a 1x1 grid square because all i need is the position of that one Grid Unit.. but cant wrap my head around how I would do it with the point in between 4.
NOTE: The single unit centering was not fixed at the time of this recording
Last edited: