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

Aaron's Legendary Action Reminder script debugging

March 10 (4 years ago)
Joe
Pro

Hello Aaron,


I'm posting this in a thread vs. private message because this script is awesome and others should have the chance to see it again.  :-)  Let me know if you'd prefer private channels for debugging help requests in the future.


I finally found time to try your Legendary Action Reminder script over 2 months after you wrote it for me (life is crazy), and in general it is fantastic, exactly what I wanted!  Thank you again!


However, I'm seeing some inconsistent behavior for when it is triggering.  Consider the following sequence of events (all turns added via GroupInitiative):

PC & Monster, several turns taken: No reminders - correct

Add Legendary Monster (LM): No reminders - incorrect

Remove PC, re-add: Reminders - correct

Remove LM: No reminders - correct

Add LM: No reminders - incorrect


Can you take a look and see if you can find a bug?  While it worked at first, when I added one of each of the three types (PC, M, LM) at once it didn't, and I just know this kind of thing will pop up during my actual game just to annoy me. ;-)  

I'm mostly using GroupInitiative to add turns, and to clear all turns between tests; to drop a creature I click the trash can on the turn order window.  If I right-click and use the built-in Add Turn it seems to work reliably.  Some sort of script interaction?


Thanks as always for your generous help!

March 10 (4 years ago)
The Aaron
Roll20 Production Team
API Scripter

Totally fine. =D  I'll try and take a look, maybe this weekend.