- Joined
- Nov 3, 2005
- Messages
- 103
I'm trying to find the x and y coordinates of the center of a group of units. Assumably it would normally be done by calculating each and every X value of each unit in the group, and then dividing (averaging) the value with the amount of units within the group. Seems like it would be somewhat of a simple task in written code, but doing it using triggers is a nightmare. Anyone know how you would go about this?