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

[Request] Only show aura on selected token / turn token

Hi everyone ! Is there a simple (API) way to only show auras when tokens are selected or when there are in top of the turn order ? Thanks in advance, Ezechiel.
1464480124
The Aaron
Pro
API Scripter
Top of the turn order could likely be done, the API has no way of knowing when something is selected.
If you are looking for a way to easily track whose turn it is, there are several  API scripts that can do it.  I like the TrackerJacker , personally, but all listed work rather well.
1464535252

Edited 1464535279
Zec'
Pro
@TheAaron : Thanks ! @CoalPoweredPuppet : It's another problem ^^ I have too much areas (2 per tokens, and 8 or 10 tokens per map), and I want to easily hide the ones which are useless in the moment.
@Ezechiel Din Cyr: I don't know if this is useful for your token issues, but I just updated one of my older scripts to be able to perform modifications (such as hiding or showing) on a bunch of tokens at the same time: <a href="https://gist.github.com/rlittlefield/5516481" rel="nofollow">https://gist.github.com/rlittlefield/5516481</a> The downside is that it currently works off adding a marker to the name of the token you are working on. I'm considering changing it to use a different criteria. It works like this: !alter thief &gt; rotation=30 or !show kobolds !hide kobolds !showrandom kobolds Assuming the name of the token has ".kobold" or ".thief" somewhere in it.