Calculate path from one point to another

Thoughts, Help, Feature Requests, Bug Reports, Developing code for...

Moderators: Azhrei, dorpond, trevor

Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)
Post Reply
xavram
Dragon
Posts: 808
Joined: Tue Apr 20, 2010 8:22 pm

Calculate path from one point to another

Post by xavram »

If I know know two cells on a map, is it possible to calculate a straight line from one to another and get back all the cells in that path? Kind of like when you use the measuring tool, but instead in a macro? I couldn't find any way to pull this off but I might be missing something.

User avatar
wolph42
Deity
Posts: 9708
Joined: Fri Mar 20, 2009 5:40 am
Location: Netherlands
Contact:

Re: Calculate path from one point to another

Post by wolph42 »

its been a while but IRC I have several path calculation macros in my BoT, line being one of them. I think I also documented them in the manual, have a look.

xavram
Dragon
Posts: 808
Joined: Tue Apr 20, 2010 8:22 pm

Re: Calculate path from one point to another

Post by xavram »

Thanks!

Post Reply

Return to “MapTool”