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 .
×
The Roll20 Black Friday sale is live now! Up to 30% Off Your Favorite Content!

GM Tool: Populate Tokens with Character Sheet data and automate addition to Turn Board

Is there a way to automate populating the Token bubbles with data from character sheets?  How would that be done? The tutorial had something almost like this...  I think there were some APIs for modifying Tokens from the chat window.  Is there a way, in the entry/free version, to populate Token data from character sheets?  Like copying over HP, defense values, etc? Can this be a macro that you feed data from a variable, like using the name of the character as the variable referenced and then picking up the stats to apply? Setting up a combat would be easy if I could pre-build basic stat sheets, then drop tokens on the board and trigger a macro to load all the stats into the tokens. The next step would be to trigger a "Roll Initiative" macro for Team Evil and have it cycle through the enemy tokens on the page and add them to the Turn Board, calculating their initiative along the way and placing them in appropriate order. Is there a way to do this? Thank you!
1467049142

Edited 1467049159
Stuart M. said: Is there a way to automate populating the Token bubbles with data from character sheets? &nbsp;How would that be done? Yup; from the Roll20 Wiki ( <a href="https://wiki.roll20.net/Token_Features#Bars" rel="nofollow">https://wiki.roll20.net/Token_Features#Bars</a> ): Also note that if the Token Represents a Character (as chosen in the field above), you can choose to link each bar to a specific Character Attribute. If you change the value in the bar (via the Token settings, radial bubbles, or in the Character settings) the value will update automatically. Stuart M. said: The next step would be to trigger a "Roll Initiative" macro for Team Evil and have it cycle through the enemy tokens on the page and add them to the Turn Board, calculating their initiative along the way and placing them in appropriate order. Is there a way to do this? You can certainly do this for one Token at a time; check out: <a href="https://wiki.roll20.net/Turn_Tracker#Adding_Values" rel="nofollow">https://wiki.roll20.net/Turn_Tracker#Adding_Values</a> <a href="https://wiki.roll20.net/Macros#Rolling_For_Initiative" rel="nofollow">https://wiki.roll20.net/Macros#Rolling_For_Initiative</a>
1467049154

Edited 1467049187
Ravenknight
KS Backer
Edit: I'm just too late. :D
1467049518

Edited 1467049585
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Edit: Also Ninja'd I salute you Silvyre :)
1467086518

Edited 1467086585
Awesome! &nbsp; Hey, can anyone refer me to a good YouTube video or similar that gives a solid example of game play where people are showing off some impressive combat automation in action? &nbsp;I'd love to see what's possible and, in particular, get an idea of how fast things can move with automation and how much can be achieved with Roll20.
1467087627
Gold
Forum Champion
Stuart M. said: I'd love to see what's possible and, in particular, get an idea of how fast things can move with automation and how much can be achieved with Roll20. The potential top speed of combat automation would depend on which game & character sheet is used (some character sheets in Roll20 for some games, have remarkable automation already programmed). The GM or Players spending some prep time to write good Macros (buttons that type & roll in the chat room with one click) and Token Actions (buttons on your Token), will also speed the combat automation up a lot -- often incorporating drop-down menus, attribute references that pull stats from character sheet, and Selected and Target (allowing one token to affect another token, such as reading your opponent's AC to automatically determine hits and misses, and automatically deducting Hit Points from a target). But API is even better. On top of the above-mentioned built-in features, the Roll20 API that is available to Pro subscribers, can really accelerate your automation much more. One of many examples would be something like the Group Initiative API. &nbsp;A game created by a Pro GM that uses API scripts like this for automation purposes is likely to be able to move much faster.&nbsp; Group Initiative community-created API, <a href="https://wiki.roll20.net/Script:Group_Initiative" rel="nofollow">https://wiki.roll20.net/Script:Group_Initiative</a> For videos there are many on YouTube and Twitch showing Roll20 gameplay. I'm not sure which group's videos to recommend for the fastest combat automation on the planet though.
Thanks! &nbsp;wasn't looking for "fastest," just a good example of a well-automated game :). &nbsp;I started skipping through the "Old School Adventures" on the community link looking for some combats. &nbsp;I'll keep looking, but if anyone has any suggestions of nice examples, I'd love to see them. I primarily play D&D and its variants, so those will be most familiar to me. Thanks again! &nbsp;Looking forward to getting all this set up!
1467212340

Edited 1467212393
Actually, funny enough, I'm doing a quick live stream this evening at 7pm Eastern to show some folks I play with how I set up my games with regards to API scripts and macros. It'll be on&nbsp; my currently unused Twitch channel , provided everything goes to plan. I also wrote two blog posts on how I set up Roll 20, that are not API specific:&nbsp; part 1 ,&nbsp; part 2 . Which is why the stream is called "part 3." Anyone is welcome to watch and ask questions. I'm hoping to keep it to an hour or so, since it's not that complicated a setup, but I do like to automate a lot of things, including some of the stuff you talk about in your first post. I'll also put it up on youtube after.
Similarly, I record all my Pathfinder and 5e games and post to YouTube . (Iron Gods / Curse of Strahd playlists are better examples of automation) There's extremely little that I actually do manually anymore.. it's all handled by the Character Sheets or a standard set of Macros that I reuse/port from character to character each game.&nbsp; I wrote a Roll20 Wiki article for Macros - Pathfinder Examples a while back and keep it relatively up to date if you want some sample ideas and examples to work from.
Here is the&nbsp; YouTube link for the stream we did. In case the Twitch playback disappears.
1467746165
The Aaron
Pro
API Scripter
Bryan said: Here is the&nbsp; YouTube link for the stream we did. In case the Twitch playback disappears. Great video and nice resources. &nbsp;Would watch again, 10/10. &nbsp;=D