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

Add two values for the same token to initiative tracker

Hey, I've been browsing the wiki and forum for a solution but I cannot find one. Hoping someone can help me out here. I'm trying to make a macro where a single token gets added twice to the initiative tracker, with different values. Add token, initiative based on dexterity value. Add token, initiative based on dexterity value + 50. I have written the following: [[@{selected|dexterity} &{tracker}} ]] [[@{selected|dexterity} + 50 &{tracker}} ]] /em has added @{selected|token_name} to tracker. But this just overrides the previously added token. When I manually add the tokens to the initiative tracker, it's possible, but it would be awesome to automate this. Any suggestions on how to do this?
While relentlessly searching the forums I found this: <a href="https://app.roll20.net/forum/post/11543744/call-of-cthulhu-firearm-initiative-in-turn-tracker-is-addcustomturn-viable" rel="nofollow">https://app.roll20.net/forum/post/11543744/call-of-cthulhu-firearm-initiative-in-turn-tracker-is-addcustomturn-viable</a> It's not a perfect solution (for exactly the reason described by the op), but, it works close enough!
1719239728
timmaugh
Forum Champion
API Scripter
I think you might be able to make use of ZeroFrame {&amp;tracker} tag. It requires the Metascript Toolbox ( wiki entry ). If it doesn't make sense from that first link, post back and we can work through a specific usage.
1719248262
GiGs
Pro
Sheet Author
API Scripter
I think Aaron's suggestin from that linked page (or maybe Tim's new suggetsion) may be the best ways to do this, and require the campaign creator to have a Pro subscription since they depend on scripts. By default, you can't add two values for the same token to the turn counter, the second just overwrites the first as you found. But script solutions can get around that.
1719255551
Gold
Forum Champion
Without any scripts, mods, tweaks, or code, though -- just basic default roll20,&nbsp; The GM can always add a Custom row to the Turn Tracker, and simply name it the same name such as Mike or Max. It wouldn't have any direct functionality to the token (such as pinging its position) but it would work as a tracker of that Name's second turn.&nbsp;
1719261189
Andrew R.
Pro
Sheet Author
I posted a ScriptCards example that adds multiple Custom turns for a 13th Age Glorantha monster.&nbsp;