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

&{tracker} without selected

June 27 (8 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Was wondering if there is a way to use the &{tracker} command to send an initiative roll to the turn tracker without having a token selected. Maybe by specifying a character before hand or using target?
June 27 (8 years ago)

Edited June 27 (8 years ago)
The Turn Tracker is token-based for the most part.  It needs a token to work with normally. (Which is why the Mobile App can't really roll Initiative)

The only other way I can think of would be to add a Custom Item to the tracker (Link) to represent your initiative

There's very likely a way to do that with the API to help automate it, but I couldn't say offhand.
June 27 (8 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Yep, not important enough for me to go on a coding spree.
June 27 (8 years ago)
Kirsty
Pro
Sheet Author
Scott, The Aaron is once again to the rescue! This link seems to be exactly what you're looking for.
June 27 (8 years ago)

Kirsty said:

Scott, The Aaron is once again to the rescue!

Indeed! Here's a code snippet written by the scriptomancer that should also fulfill your needs.
June 27 (8 years ago)

Edited June 27 (8 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Yep, I've seen those, I was hoping there was a way to make an entry linked to a specific token, but that sounds like it's not possible at this time (or would require more API programming that I want to do at the moment). I've got a large group and a correspondingly large number of enemies that they run into. Helps to have the highlighting so I can tell what NPC is acting when.

Thanks for all the help everyone.
June 27 (8 years ago)
Lithl
Pro
Sheet Author
API Scripter
Scott, it sounds like Group Initiative would suit your purposes. It doesn't let you roll for initiative without selecting the token, but it lets you roll for initiative on all selected tokens at once (as opposed to only a single selected token with &{tracker}), which sounds like it would solve your problem.
June 27 (8 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Lol, true that, I really need to remember to use that
June 29 (8 years ago)
The Aaron
Pro
API Scripter
GroupInitiative does let you re-roll the initiative without selecting tokens.  In the next rewrite I'll see about adding a way to specify the tokens to roll for on the command line (which won't be terribly difficult with the current structure, actually).
June 29 (8 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
ooohh, nice Aaron