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

Mark script no longer resets on Turnmarker end of turn

1442535802
Lucian
Pro
API Scripter
According to the old threads, Aaron added a public "reset" method to Mark, which the Turnmarker script still looks for, to ensure that all active marks get cleared when the turn advances. Unfortunately, the reset method no longer seems to be exported from the Mark script, so this functionality no longer works... any chance of having it back?  Lucian
1442574455
The Aaron
Pro
API Scripter
Certainly that is something I can fix. Strange it would be missing though. You're certain you're looking at the correct mark script?
1442574952
Lucian
Pro
API Scripter
I think so. I'm looking specifically here:&nbsp; <a href="https://github.com/Roll20/roll20-api-scripts/blob/" rel="nofollow">https://github.com/Roll20/roll20-api-scripts/blob/</a>... and I can't see reset in the list of exported functions from the module (the reset function exists, obviously, but it's not public so TurnMarker can't find it). Cheers, Lucian
1442582292
The Aaron
Pro
API Scripter
Ok, I pushed out version 0.3.1 It no longer requires isGM and has the function exported. &nbsp;Weird that it was missing. &nbsp;I sent the pull request to Roll20, but you can grab the latest version here:&nbsp;&nbsp; <a href="https://github.com/Roll20/roll20-api-scripts/blob/" rel="nofollow">https://github.com/Roll20/roll20-api-scripts/blob/</a>...
1442694671
Lucian
Pro
API Scripter
Fantastic, thanks, that works great. Only just got round to checking as have been spending *far* too much time writing my own scripts... it's easy to get carried away with this stuff :-) Lucian
1442696561
The Aaron
Pro
API Scripter
I can understand that! &nbsp;=D