Right now you have to lookup a map's grid size and then convert the X,Y grid coordinates into pixel units in order to check for visibility (which isn't particularly clear in the wiki.)
I'd really like to be able to use Wiki: isVisible() with grid coordinates like:
Code: Select all
isVisible(x, y, TOP_RIGHT/BOTTOM_RIGHT/TOP_LEFT/BOTTOM_LEFT/CENTER, id)
FYI, the location syntax comes from Wiki: canSeeToken().