[RPG] Rolling initiative for a group of tokens in Roll20

roll20tools

Is there a way to select a group of generic tokens in Roll20, have them roll initiative, and have these values added to the turn tracker? The following command does it for one selected token:

[[1d20 + ?{Modifier|0} &{tracker}]]

–given that the tokens are generic, the command asks for a (Dex) modifier. Is there a way to extend this command to a group?

Best Answer

The &{tracker} syntax to automatically roll a token into the turn tracker does not work for multiple selected tokens. As you've discovered, only one of the selected tokens will be added.

Your only options are to roll each token separately (which shouldn't take too long if you've got a macro set up), or use the API, which can easily add multiple objects to the turn tracker at once (including rolling their initiative). Unfortunately, the API requires that the campaign owner has a Mentor subscription.

Related Topic