rects and regions are different, how different? Very different.
Rect: A group of 4 values describing minx,maxx,miny and maxy.
Region: A set of points that can fire enter/leave events.
When you register a rect region event, it actually creates a region, add the points in the rect to the region and registers the event for the region
Even more is that region events fire when the unit's collision circle
enters the region. But IsUnitInRectBJ (or whatever that function is called) checks whether the unit's origin
(the center of the collision circle) is in the rect.
Don't worry, this is solvable. Just need a way to check if a unit's colllision is in range of a point (and we got IsUnitInRangeOfXY) then use some equations, I think I'll post a function soon.