We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
Accept
Advertisement Create a free account

AOE Template Generator

1512383225

Edited 1512401077
Bast L.
Pro
API Scripter
In order to utilize the new template aoe method (or clarification of method) from Xanathar's guide, I made some shapes and a script to allow players to create an aoe template (on their selected token) with shapes and sizes selected from the macro. Image:&nbsp; The template should be automatically assigned to the player who used the macro. Template images are here (or use/make your own):&nbsp; <a href="https://imgur.com/a/UZiIl" rel="nofollow">https://imgur.com/a/UZiIl</a> Gist is here, including a macro underneath. Make sure your players change /w gm to /w &lt;player name&gt; so they don't clutter the chat:&nbsp; <a href="https://gist.github.com/Bastlifa/fd7b86b06eb48a4e8" rel="nofollow">https://gist.github.com/Bastlifa/fd7b86b06eb48a4e8</a>... Oh, and as per the comment at the top of the script, you'll need a rollable table with names and items as specified. edit: Sorry, I should have said that macro is for OGL. I'm sure it's easy to adjust for any other template edit 2: As usual, a simple search after having posted shows that this has already been made by someone else, probably better than I made it :) edit 3: I should've mentioned, it works on the page with the player flag only (and possibly, though untested, the page that a specific player has been moved to).
1512397542

Edited 1512397562
Havoc
Pro
Sheet Author
API Scripter
Doesn't seem to work. I've made the rollable table: Selected a token, wrote&nbsp;!TemplateGenerator and it crashed. Apparently 'shapeItem' is undefined.
1512398968
Bast L.
Pro
API Scripter
Yeah, I didn't put much error checking in, but if you use the macro from the gist (it's in a serperate file at the bottom), or put in the other parameters, it should work. So, if you want to make your own macros for it, they're of this form: !TemplateGenerator Shape Size For example, a 20 foot radius circle is: !TemplateGenerator Circle 20
1512399707
Havoc
Pro
Sheet Author
API Scripter
Nope, doesn't seem to work either. No error this time.
1512401020
Bast L.
Pro
API Scripter
Hmm, are you on the page with the player flag? If it's not that, I'm out of ideas :)
1512403028
Havoc
Pro
Sheet Author
API Scripter
Bast L. said: Hmm, are you on the page with the player flag? If it's not that, I'm out of ideas :) Yup. Just went to the player flag and there were 4 circles. xD Works, thanks.
1512403943
Bast L.
Pro
API Scripter
:)