Brandon
2012-02-28 15:08:16
lets say I found a ton of NPC's on screen using:
ATPA:= TPAToATPAEx(TPA, 50, 50);
//Then I do:
SortATPAFrom(ATPA, Point(MSCX, MSCY));
//Then:
MiddleATPAEx(ATPA[0], X, Y);
//Why is X, Y the furthest NPC from ME?!
//Doesn't seem to sort it from me at all..