Recognizing a piece in a zone

Quick question.

When is a piece considered to be in a zone on a map? …is it when the center point of the piece is in the zone? …or if any part of the piece is in a zone - like a corner of the piece?


When the current location ($CurrentX$, $CurrentY$) falls within the zone. In most cases, this will be when the centre of the piece is in the zone.


*********** REPLY SEPARATOR ***********

On 19/02/2010 at 7:33 AM Dr_Nostromo wrote:

Messages mailing list …

Post generated using Mail2Forum (

That’s perfect. I was concerned about corners or edges getting picked up as being in the zone. Now I don’t have to worry about that.