Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Macro for changing Grid Type? D&D 5e

1743640964
DM Steve
Pro
Marketplace Creator
Hello mates I've got an idea for a world map that would require me to switch from squares to hexes on the fly - Is there a script, or macro, that exists where I could switch map types at the push of a button? The options I would like the button for:&nbsp; <a href="https://i.imgur.com/lmPYm3i.png" rel="nofollow">https://i.imgur.com/lmPYm3i.png</a> Thank you !
1743659261

Edited 1743690787
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi DM Steve! The Mod Script Dynamic Lighting Tool can do this. There are controls on the "Page Plus" menu: If you want to put these into a macro, the commands are: Square !dltool-mod --grid_type|square Hex(V) !dltool-mod --grid_type|hex Hex(H) !dltool-mod --grid_type|hexr Dynamic Lighting Tool is available for one-click install and works under production or experimental API, classic or jumpgate games.&nbsp; If you want to read more about it, there is a thread here .
1743713547
DM Steve
Pro
Marketplace Creator
Hey Keith Thanks, this does what I need - Is there any way for the players to access this menu or is it sent to the GM exclusively?
1743715983
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
The menu is sent to GM only. The actual script is mostly a GM tool. If a player runs it, they get the "why can't this token see?" function, to help them communicate vision problems with their GM. That being said, the macros above will work for players, but they will get a message in the chat that either says that they must select a token, or they'll get that vision checklist. If that is too much chat spam, you might want to check with Kurt's ScriptCards thread . It seems to be able to do just about everything. :)