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

Hero System - HeroTracker API - Possible Bug?

Hey there! I am trying to use the HeroTracker API, and while the basic function works - I can add a set of characters to the Turn Tracker correctly - some specific commands do not seem to be working. Like these: You can also add a static label to the tracker by entering this chat command: !ht --tag GAS-EFFECT --speed 4 When adding a token, the speed and dex will be automatically derived from the token's attributes. However, you can override this by specifying your own speed and dex: !ht --add --speed 6 --dex 18 Now, the second one might be because I am using a token that has no SPD or DEX, although I am sending values as per the parameters in the command line, hoping to get around that problem. But if I can't, I would be able to use the first one to do what I need to do, except the first one isn't working either. Any insights? I would appreciate any help I could get on this.
1587570147
The Aaron
Roll20 Production Team
API Scripter
I've never looked at that script before. Are you getting any sort of error message?  Maybe in the API Console Output?
1587578630

Edited 1587579332
I didn't see any. I had my brother also try it, and he got the same results as me. We tried using the exact example commands, and they didn't work.
I figured out why #1 was not working. The documentation is not correct. !ht --tag GAS-EFFECT --speed 4 Should be: !ht --add --tag GAS-EFFECT --speed 4 I am still trying to figure out #2. I may be out of luck trying to add a token not connected to a character, but if so, I can simply use a tag to do so. Other commands in the documentation may also be incorrect. I have not checked them all to see if something similar would work.