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

AddCustomTurn Issue-Not Counting Down

March 12 (3 weeks ago)

I have recently returned to my campaign and used the !act API to put a countdown in the Turn Order. However, while the item did get added to the Turn Order in the right place and with the correct starting count, it did not adjust down each time throw the initiative order. Originally, I had used !group-init to set up the initiative order for my NPCs and the players clicked on their initiative to add their characters to the Turn Order (which has always been our practice). The TurnMarker1 script appears to still work fine as the round counter goes up each round. It is only the !act formula (in this case the -1) that does not appear to be working. I am using the default 5e sheet and nothing experimental or on Jumpgate.

Any ideas why the countdown would have stopped working? I tested it out in multiple campaigns, checked the versions, and even turned off !group-init to see if it was some interference. But none of the alternatives appear to change the odd behavior.

Anyone having this issue or have any idea why this might be happening?

Thanks!

March 12 (3 weeks ago)
The Aaron
Roll20 Production Team
API Scripter

What command are you using to add the turn?  

March 13 (2 weeks ago)

I have tried it two ways. The first is the basic way (copied from your original help page):

!act -1 10 --bless

Before things started failing, I had been using this macro to do the same thing:

!act ?{# of Units up or down?} ?{Starting Value?|0} -- ?{Counter Name?}

So, I haven't changed anything in how I was using it to explain why the formula part has stopped the countdown.

Does that make sense?


March 16 (2 weeks ago)
The Aaron
Roll20 Production Team
API Scripter

Hmm.  I am seeing this behavior.  That is very peculiar.  It's possible they changed something about how the turnorder parsing works.  I'm going to have to experiment with it a bit more to figure out if that is the case.