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

Any one notice that the ammo tracking don't work when you have a gif

Hi, just wonder if anyone else has had this little bump, its not a big deal but just seeing if anyone else has come across it 
1589332825
GiGs
Pro
Sheet Author
API Scripter
What ammo tracking are you referring to, and what is the gif?
With gif  With out gif
1589335206
GiGs
Pro
Sheet Author
API Scripter
Oh its an inherent feature ofthe sheet, not a script? Which sheet is it?
Its the 5E by Roll20 sheet and I've  5th edition ogl by roll20 companion api on
1589337279
GiGs
Pro
Sheet Author
API Scripter
Since its a problem with the roll20 by 5E sheet, you could try posting in the official thread for it. I dont know if there's a separate thread from the companion script.
1589432429
Oosh
Sheet Author
API Scripter
Have you got the code for the attack template?
1589473261

Edited 1589473377
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Your code without the gif has what looks like an id number after the word "shot" in the ammo field, where as the other does not. Can you talk about why that is present? Also, I would recommend removing the quotes from the character name. That can kill some scripts.
cheers everyone. 
1589491330
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Did you fix it? What was the issue?
nah it didn't fix it. I've just going to manually do my ammo. I just found it interesting 
1589494340
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
FWIW, I can see the issue, I believe. The old trick of putting: }} !someAPIcommand no longer works. A change was made to the order in which roll templates were being processed that broke that hack. This trick is likely breaking ammo tracking as well. I doubt the gif was the issue.