Thx all, I think that Leodagan's solution could fit better my case, let me say that I'm terribly new at all this but I'm trying to do my best
Checking that script it appears he defines 3 kinds of areas (square, polygon and circle) and you can decide what kind of area you want as bind area and safe area, I'd like to set as square the area with this gloc corners (X-Y) 482,5-320,5 (Upper-right), 450-320,5 (Upper-left), 450-352 (Lower-left) and 482,5-352 (Lower-right), theese corners define more or less I3-I4-J3-J4 on this map
http://camelot.allakhazam.com/Maps/Hibe ... vennex.jpg.
Do I need to change the code's part defining what is a square or only this part?
public class SafeArea : Circle
{
public SafeArea()
: base()
{
m_safeArea = true;
}
public SafeArea(string desc, int x, int y, int z, int radius)
: base
(desc, x, y, z, radius)
{
m_safeArea = true;
}
}
}
--------------------------------
How are width and height considered? Which is the starting point?
Thx in advance.