Deleted member 219079
D
Deleted member 219079
Like, using only unit group as data, and returning center of it.
I remember doing it once, when I knew JASS a little.
It's like sum of X coordinates divided by count of units in the group.
Then for Y, sum of Y coordinates divided by count of units in the group.
Then converting them, X and Y, to a point.
I think this would be too inefficient to do in GUI, so I'm requesting a little help here ^^
Also, importing instructions would be nice, or would it be like this:
I remember doing it once, when I knew JASS a little.
It's like sum of X coordinates divided by count of units in the group.
Then for Y, sum of Y coordinates divided by count of units in the group.
Then converting them, X and Y, to a point.
I think this would be too inefficient to do in GUI, so I'm requesting a little help here ^^
Also, importing instructions would be nice, or would it be like this:
- Custom script: set udg_p = call GetCenter(udg_ug)