Looooongtime MapTool user, first time poster. Have only barely scratched the surface with macros and such, though, and I think what I'm trying to do lives there. Hopefully, one of the brilliant minds here can help!
The general problem: my players would like a way to indicate points on a map, even "on top" of Fog of War, even when the FOW settings are set at individual token level.
As far as I know, all of the drawing tools respect Fog of War, so my players can't just draw a circle around a portion of the map that they can see, but another player cannot. If there's some other functionality in MT that I've just totally overlooked, please let me know!
Instead, I thought about taking the approach of creating a shared "indicator" token of a round red dot that had a unique Sight type that was just large enough for the token to be visible, but not expose anything beyond. I knew about onTokenMove(), so I figured I could just write a macro for this token in particular that caused it to re-hide any exposed FOW it revealed at the conclusion of its move.
Unfortunately, I think I've hit the limitation of my understanding of the available tools to do that. The test macro I wrote was a very simple "if the token moved was the Indicator, run exposePCOnlyArea()".
Code: Select all
[h:lastPath = getLastPath(1)]
[h:tokenMoved = getSelectedNames()]
[h,if(tokenMoved == 'Indicator'), CODE:{
[h:exposePCOnlyArea()]
};{}]
Is there any way to achieve this, or alternately, is there a better way to facilitate what my players are asking for?
Thanks!