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

Multiple status effects?

Is it possible to have multiple of the same status symbol on a token? I'm having trouble keeping up with status effects without this ability.
April 24 (10 years ago)

Edited April 24 (10 years ago)
Huh?
April 24 (10 years ago)
You could always add a number to the status symbol/icon, couldn't you? I don't think it is possible to add a symbol multiple times, though.

EDIT: Where did my first post go?
April 24 (10 years ago)
Sorry, my Chrome doesn't like the Forum today.
April 24 (10 years ago)
Ziechael
Forum Champion
Sheet Author
API Scripter
As Olav says, hovering over a status icon and pressing 0-9 (as detailed in this wiki page) will allow you to assign a number to that icon which you can then overwrite with a decreased number each round, turn or hour as needed.

Also, no idea what happened to your first post Olav... maybe someone had cast silence on you?
April 24 (10 years ago)
Lithl
Pro
Sheet Author
API Scripter
Yes, it is possible to have multiple copies of a status marker on a token. This can happen if multiple people click to add the marker at approximately the same time, or it can be done via the API (see Flight for an example). If you don't want to use the API, getting multiple copies of the same marker is not something easy to do on purpose, and it is probably better to simply include a number on the marker (press a number on the keyboard while your mouse is hovering over the marker, instead of clicking on the marker).
I was Using The Numbers To Keep Track Of Like The Extent Of Ongoing Damage.
April 24 (10 years ago)
The Aaron
Pro
API Scripter
There are some scripts for tracking status. I should expand TokenMod to support a syntax for having multiple numbered statuses. Of course at that point, it begs the question of how you would keep straight which one is which.

You could also use my FateDots script. It lets you set statuses to have multiple numbered versions, such that you would hit a number on one of them and it adds all the lower numbered ones as well. For example: you hit Red4, and it adds Red3, Red2, Red1. Not sure if that's useful to you in this situation, but thought I'd point it out.
April 25 (10 years ago)

Edited April 25 (10 years ago)
Afraid This Hasn't Been Helpful. Im Going To Just Try And Devote All Of The Dots exceptvred To Track Ongoing Danage. And Have The Sources Differentiated By The Symbols.
April 25 (10 years ago)
The Aaron
Pro
API Scripter
That is too bad. =/

Is there an interface that can be created via the API that would solve your issue, or is it a limitation beyond the scope of the API to solve?
I don't know. I have no understanding of the API or a willingness to take the time to read through the help documents to learn. I leave that to the people who enjoy that stuff.

I guess if someone took the fly API, broadened it to work with all of the symbols, that might work.
April 26 (10 years ago)
The Aaron
Pro
API Scripter
Ok, I've updated my TokenMod script to support multiple status markers: https://github.com/shdwjk/Roll20API/blob/master/To...

I haven't updated the help for it yet, but basically, anything that works for a single status works for one with an index. The first command here sets the blue status marker on with a number of 1. The second line adds a second blue status marker and sets it's value to 2:
!token-mod --set statusmarkers|blue:1
!token-mod --set statusmarkers|blue[2]:2
You can use an empty set of brackets to add a new marker:
!token-mod --set statusmarkers|blue:1|blue[2]:2|blue[]:3
Just like other status operations, you can add all of these at once:
!token-mod --set statusmarkers|blue:1|blue[2]:2|blue[]:3

Markers are indexed from 1 starting at the left most of a color. New markers are added to the right, so multiple colors can be interspersed as you like.


Let me know if that meets your needs.
Well it works. Though it is causing the game to pause a lot as the syntax gets copied and pasted then editted. Anyway you could alias that code with a shorter command? Something like !marker blue 1:2 with all of the special symbols hidden behind the alias?
April 28 (10 years ago)
The Aaron
Pro
API Scripter
Not easily, though I'll consider some alternate syntaxes. You could certainly make a macro like:
!token-mod --set statusmarkers|?{Marker?|blue[1]:0}
or
!token-mod --set statusmarkers|?{Marker?|blue}[?{Marker #|1}]:?{Marker Value|0}
if you wanted to speed things up.
Macro the command, yeah that could work.