[FREQ] isVisible() to work with grid coordinates

If you have an idea for a new feature, please discuss it in the main MapTool forum first, then post a summary of the discussion here. Use the first Sticky as a template.

Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice

Post Reply
User avatar
Full Bleed
Demigod
Posts: 4736
Joined: Sun Feb 25, 2007 11:53 am
Location: FL

[FREQ] isVisible() to work with grid coordinates

Post by Full Bleed »

I like to be able to use Wiki: isVisible() with grid coordinates more easily.

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().
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."

Post Reply

Return to “Feature Requests”