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

Macroing the Turn Counter

This is mosly just to satisfy my curiosity atm... since none of my current games use the turn counter like this... but in anticipation of a future game, and curiosity... how would one go about making a macro that adds items to the turn counter with a round calculation? Example: A spell macro is used that creates an effect that persists for 5 rounds... How would someone make a macro that creates a custom item in the counter and sets it to 5 and subtracts 1 each round? Follow up question: I'm fairly cerrrtain this one isn't possible, but I may as well ask anyway... is it possible to create sub-items on the round counter? Like... each character on the turn character is a single item, and each active effect that counts on their turn is a sub-item to them... So if player Bob had cast the earlier spell and it counts on his turn the spell would be a sub-item to him.
You would need to have a token on the map to represent the the individual spell countdown if you want to use a macro to add it to the turn order. Alternatively, and more useful, is creating custom counters right on the turn order. Those will automatically count-down for you. <a href="https://wiki.roll20.net/Turn_Tracker#Adding_a_Cust" rel="nofollow">https://wiki.roll20.net/Turn_Tracker#Adding_a_Cust</a>...
1436419554

Edited 1436419604
darn, I was wanting to use macro's to create those custom counters... I am already well aware of how they function... I was just hoping it was possible to macro their creation rather than manually making them every time...
<a href="https://app.roll20.net/forum/post/2159164/post-you" rel="nofollow">https://app.roll20.net/forum/post/2159164/post-you</a>... There's what your're looking for. I was super suprised myself. xD
1436457804
The Aaron
Roll20 Production Team
API Scripter
Just want to point out that that won't allow you to create custom entries, just add and adjust entries for a token. Custom entires don't have a token associated with them.
Benson Y. said: <a href="https://app.roll20.net/forum/post/2159164/post-you" rel="nofollow">https://app.roll20.net/forum/post/2159164/post-you</a>... There's what your're looking for. I was super suprised myself. xD Not what I'm looking for... reason being: The Aaron said: Just want to point out that that won't allow you to create custom entries, just add and adjust entries for a token. Custom entires don't have a token associated with them. Basic add to tracker functionality with tokens is something I'm already perfectly aware of how to use... Like I already stated I was hoping that I could have a macro written to create a custom tracker entry and assign a turn count calculation to it. Something like: "Bob casts Flaming Sphere, lasts for 7 rounds" - The custom entry 'Flaming Sphere' is created and added to the bottom of the turn order with a value of 7 and a turn calculation of -1 But, I'm under the influence at this point that this may not be possible... if it is but requires API to do, that would also be of use...
1436464121
The Aaron
Pro
API Scripter
It is possible to do with the API, it's actually relatively simple, I'll try to work something up...
Please do! Pretty please????