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

Groupinitiative API

I'd like to setup 2 macros using the Groupinitiative API. Macro 1: Sets the Roller to Mean-All-Roll, then roll the initiatives. Macro 2: Sets the Roller to Individual-Roll, then roll the initiatives Is this possible? I tried using --set-roller but it says this is not a valid command. Thanks for any and all help. Steve Z
1639681509
Andreas J.
Forum Champion
Sheet Author
Translator
here is info on the commands: <a href="https://wiki.roll20.net/GroupInit" rel="nofollow">https://wiki.roll20.net/GroupInit</a> I think you'd end up creating two "groups" for the different init methods Both of the macros would consist of two API commands: the first line switch the "active group", and the the second one to call the initiative. Checking how Stargate does for creating &amp; filipping between the two could be helpful too: <a href="https://wiki.roll20.net/Stargate#API" rel="nofollow">https://wiki.roll20.net/Stargate#API</a>
1639701192
The Aaron
Roll20 Production Team
API Scripter
Macro 1: !group-init-config --set-roller|Mean-All-Roll !group-init Macro 2: !group-init-config --set-roller|Individual-Roll !group-init That should work, though I've not tried setting and rolling together in that fashion before.
Thanks. These worked great.&nbsp; Is there a way to not make the change pop-up in the chat?
1639802044
The Aaron
Roll20 Production Team
API Scripter
There isn't.&nbsp;
Bummer