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
This post has been closed. You can still view previous posts, but you can't post any new replies.

Add multiple tokens to the Turn Order

Hi, Very often, I have a bunch of generic tokens, and I was looking for a way to extend the command [[1d20 + ?{Modifier|0} &{tracker}]] to a group of tokens. That is, I was trying to drag-select a bunch, run 1 macro, and have them all roll initiative and added to the queue (in the case of generic tokens, maybe ask for 1 init mod, and apply it to the entire group, or ask for a modifier per token... I think the former is much more practical). Not sure if this makes sense...
1410899378
Gen Kitty
Forum Champion
You make a lot of sense. The problem I've seen is that the tracker itself only wants to deal with one entity at a time. A macro with two calls to the tracker fails. So certainly one part of this suggestion is adapting the tracker to handle multiple calls. There's API to do what you want, but that requires a subscription. To ease the pain in the interim, describe how you've been doing your init rolls for your tokens and maybe we can make it a bit easier?
1410915447
Pat S.
Forum Champion
Sheet Author
Have you looked on this wiki page for any information usable? <a href="https://wiki.roll20.net/Macros#Rolling_For_Initiative" rel="nofollow">https://wiki.roll20.net/Macros#Rolling_For_Initiative</a>
Wow, GenKitty, that must be the nicest reply I've ever read in a forum. Currently, I'm doing the command above: [[1d20 + ?{Modifier|0} &{tracker}]] so, I select a token, click the macro button, select the next, click the macro button, etc., until everyone's accounted for. It's not super bad, tbh, but when you have a lot of encounters, that starts to add up.
1410917922
Pat S.
Forum Champion
Sheet Author
You are correct on that. I've tried to play around with setting up with multiple select macros but could not get them to work (not very good with macros) but good luck.
1410927838
Gen Kitty
Forum Champion
Yeah, that's about the maximum efficiency you can get without API, I'm afraid. :/
1410953953

Edited 1410954279
Thanks, fellas :). In case we upgrade to subscriber, is there code for this readily available somewhere? I haven't programmed in a long time, not sure if I could whip up the thing in a time-efficient manner.
1410964795

Edited 1410964839
Pat S.
Forum Champion
Sheet Author
Wil, If there is not one, you could ask in the api forum for someone to create a script for you. The API is also a mentor level feature (9.99 per month or 100 for a year)
Wil - there is a script created for this; it can be found here: <a href="https://app.roll20.net/forum/post/207066/script-au" rel="nofollow">https://app.roll20.net/forum/post/207066/script-au</a>... Of course you will have to have a mentor membership for you to be able to use it. I use that and a couple others and my chat log looks like this: I have it set up to prompt whose turn it is (and a little magic symbol highlights the characters token) and i am also running Honey badger's power card script to format the attacks a bit prettier.
Wow, that looks fancy. Thanks for the pointer :).
1410983977
Gen Kitty
Forum Champion
You might also look at <a href="https://app.roll20.net/forum/post/1066916/#post-1066916" rel="nofollow">https://app.roll20.net/forum/post/1066916/#post-1066916</a>