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

[HELP] TrackerJacker Update Request

I hope one of the scripters that look here has the time to update the TrackerJacker script. Right now, TrackerJacker doesn't display a number on a status (i.e. a 'duration' in the context of the script) applied to a token unless the direction != 0.  I'm not sure why Ken L. built this logic in to the script, but I need it to be modified. I need it to support the possibility that the 'duration' number is in fact not a duration, but signifies something else about the condition (e.g. exhaustion levels), and that the condition does have a 'direction' of zero. I hope that makes sense. Is anyone willing to take that on?  I've delved into it myself, but my scripting skills just aren't up to it.
1573696427
The Aaron
Roll20 Production Team
API Scripter
When you say "direction of 0", are you talking about the numbers on a status marker?  If that's the case, the reason is because zero couldn't be displayed on a status marker until very recently. It should be an easy fix if that's the problem. 
No. For any given status, TJ requires both a Duration (which is the number that will be displayed on the status marker), and a Direction.  The Direction is how much the Duration will be incremented or decremented per turn. TJ doesn't let me have a status with a numeric duration (i.e. show a number), if the direction is zero.  If you change it with another tool like TokenMod, then every time the Turn Tracker is advanced, the Duration of a status with direction zero is reset to default of no number on the status marker.
1573734529
The Aaron
Roll20 Production Team
API Scripter
Hmm. Ok. I'll try and take a look at it tonight. 
Thanks.
1574010861
The Aaron
Roll20 Production Team
API Scripter
I'm having trouble getting TrackerJacker to do the thing you are doing.  What command do you use to add the status?
2 ways you can do it. If you don't have a "favorite" setup for the status, you can use: !tj -addstatus [name]:[duration]:[direction]:[message] !tj -addstatus staggered:1:0:speed is halved Or, if the status has been set up as a "favorite", you can use: !tj -applyfav staggered
1574017269
The Aaron
Roll20 Production Team
API Scripter
Right, I got that far, but where should it be showing the number that's getting decremented?
Well, it doesn't show a number if the duration is 1, or if the direction is 0. So my bad, should have given a different example previously.  A better one would be: !tj -addstatus staggered:9:-1:speed is halved And then choose a marker for the status.