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

Turn Tracker (disabling auto ordering?)

1628110485

Edited 1628110615
Hello everyone. Second time posting here. So I'm trying to use the "Add Custom Item" option within the Turn Tracker so that I can track the duration of spells and other effects during combat easier than the other way I was doing it. I add the item (example being the spell Mirror Image) and add the "-1" to Round Calculation to that item so it'll decrease by one whenever the turn tracker reaches that turn. However, whenever it decreases by one, the Turn Tracker automatically reorganizes the turn order to match the Mirror Image's "turn number" within the Tracker. So for example, Character A rolls an initiative of 20 and Character B rolls a 15. Character B casts Mirror Image, so I add that Custom Item above Character B, giving it an initiative of 10. Mirror Image is now in between Character A and B in the turn order (20, 10, 15). When the turn tracker cycles through and reaches Mirror Image, it will decrease its initiative to 9, but then automatically move its place underneath Character B since it's lower numerically (making it 20, 15, 9). Is there a way to disable the auto ordering? Keep in mind that I do use Group Initiative too, so I'm not sure if that has anything to do with it. I disabled Group Initiative and tried it again, but it still automatically reorders it. I tried to be as specific I can with the issue I'm having so I apologize if it's long winded. Thanks to whomever can assist me.
1628112585
timmaugh
Forum Champion
API Scripter
It sounds like you are using Aaron's " AddCustomTurn " API... is that true? If so, we can maybe have him chime in if there is an auto-ordering feature that can toggled on/off... Let me see if I can summon him... *begins potion-preparing-like gestures* *hopes no one looks too closely*
1628113517
The Aaron
Roll20 Production Team
API Scripter
What scripts do you have installed?  AddCustomTurn doesn't do any sorting, so something else must be doing the sorting.  Since the API doesn't generally get events from changes made by the API, do you have any extensions that might be doing the sorting for you?
The Aaron said: What scripts do you have installed?  AddCustomTurn doesn't do any sorting, so something else must be doing the sorting.  Since the API doesn't generally get events from changes made by the API, do you have any extensions that might be doing the sorting for you? Ah... Yes... I do, in fact, have a third party extension that is causing the problem. I've just disabled it to check and yes, that's the cause. Thank you. To be fair, automatically reordering the turn order has been useful so far... just not for what I'm trying to do right now. Everything else in it has been useful too, but I guess I'll have to disable the whole thing if I want to get thing thing I'm trying to do to work. Yeah, so, thanks for the assistance!
Actually, I found out that I can just disable that in the extension's settings, so... we're good! Happy ending. :)
1628120393
The Aaron
Roll20 Production Team
API Scripter
Ah, great!