Oops, it looks like I made a mistake in my suggested code.
The distancebetween function should be above the getDistanceBetween function.
Printable View
Okay, posted v3.3 which (hopefully) fixes getDistanceBetween to find the correct square to perform the distance between...
I feel so honored. My first mentino in an update. Svandal, the man who never stopped nagging :)Quote:
Originally Posted by 24GKEnialb
I have tested it, and it seems to be working, so great job. It will speed up our games much when there is 3D combat.
But it was necessary nagging to get me past the mental block that the arrow and function had to return the same value... :) Glad it's working for you now.
Attachment 46423
I got this error in my campaign tonight. Everything was working fine and then the last battle I got this error. Never changed maps.
Very odd. Did you add any tokens to the map between the time it was working and when you got the error? Do you have any other extensions loaded? If it does come up again, you may be able to kick it by removing/re-adding the tokens from the combat tracker and resharing the map. That's just a system call, so not really sure how it could have disappeared.