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

One-click full-party Initiative macro help

1496953603

Edited 1496953689
Hello again, I'm trying to create a macro where all I have to do is click it and it'll add my four-person party to the initiative tracker. I can do the enemies separately. However, I found a thread that says this isn't possible outside of API use: <a href="https://app.roll20.net/forum/post/701476/initiativ" rel="nofollow">https://app.roll20.net/forum/post/701476/initiativ</a>... The thread is 3 years old, however, so I was hoping that maybe something had changed in the meantime. What I have so far is: Darrack rolls [[1d20+[[@{Darrack Stonechest|initiative_bonus}]]&{tracker}]] for Initiative! Dad rolls [[1d20+[[@{Dad Dorf|initiative_bonus}]]&{tracker}]] for Initiative! Garl rolls [[1d20+[[@{Garl Strangleface|initiative_bonus}]]&{tracker}]] for Initiative! Yokanthu rolls [[1d20+[[@{Yokanthu|initiative_bonus}]]&{tracker}]] for Initiative! This rolls out everyone's Initiative using their proper bonus, but doesn't actually add them to the tracker. If I have a token selected it adds the last initiative rolled as that token's initiative to the tracker. If I select multiple tokens it does the same, but only for a single token. If at all possible I don't want to have to select the tokens before using this macro. To make matters more confusing, I need one of my players (Garl in this case) to roll his initiative with Advantage. I don't know where to start with that. Any help would be appreciated.
1496954649
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Still only possible with the API. You are a pro subscriber and do have access to it. Aaron has created a&nbsp; groupInitiative script so no programming required either.
1496954772
The Aaron
Pro
API Scripter
The reason it's not possible outside the API is that you have to select a token to apply the initiative to. &nbsp;if you make a macro, it can't know which token to associate with which tracker roll. As it happens, I have a pretty comprehensive GroupInitiative script (in the 1-click installs) that you can use for this. &nbsp;The commands you'd issue to configure it are: !group-init --del-group 1 !group-init --add-group --bare initiative_bonus You only need to do that once, then you can select as many tokens as you like and run: !group-init to add them to the initiative with individual rolls. See the help for more configuration options: !group-init --help
1496954806
The Aaron
Pro
API Scripter
(no ninja credit to Scott because I typed instructions!! =D )
I'll have to check tomorrow but this looks like it's butt easy. You guys have helped me a ton today, thank you very much. I'll get back to you tomorrow. More than likely it'll just work, but who knows.
1496955762
The Aaron
Pro
API Scripter
No worries, happy to help! &nbsp;Happy Rolling!
I actually rolled high on deception and actually snuck some rolls in. First of all the visuals are amazing, I love seeing all the icons in chat. Kudos Aaron. The --help brings up a LOT of options, so I'll ask: Is there a quick way to make it so one token always rolls with advantage? And more importantly, can I make a macro for certain tokens only so I don't have to select them (while still having one of them roll with advantage?) Again, thank you very much for your help.
1496956757
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
The Aaron said: (no ninja credit to Scott because I typed instructions!! =D ) Heh, I didn't want to lead him astray and figured you'd be by ;)
1496956968
The Aaron
Pro
API Scripter
Advantage is a hard one. &nbsp;I actually need to do a bit of work to get that setup. (GroupInitiative predates not only Advantage, but Character Sheets on Roll20, which is why the interface is a little strange). &nbsp;I'll see what I can do on that. &nbsp;It's a much requested feature and I may have just thought of a way to work it into the current system without having to rewrite all the things. There isn't a way to roll a specific token into the initiative without selecting it, but you can reroll all the tokens that are currently in the turn order... not sure if htat helps.
Well, it's better than having everyone roll it, so it'll have to do. I'll have to work something separate out with my advantaged played.