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

Aura/Tint Health Colors API (by DX Warlock) question

I have been using this API in my games and love it. However, there is one problem---I need to use an aura to represent the radius of a concentration spell cast by the token's character, and both auras are already taken up by the API. There seems to be no way to turn one or the other of the auras off for a particular token so I can make use of it for that purpose. Am I missing something?
1647694773
David M.
Pro
API Scripter
I tweaked the script a while back to only use Aura 2, code found here  (must be manually installed). This frees up aura 1 for other uses. FWIW, the tweaked version also includes a register to my SmartAoE script so that the auto saves/damage triggered by that script are recognized by Aura Health.
Thanks but I haven't got any idea whatsoever how to manually install a script. I am not a coder and if it isn't a one-click install like they have set up in Roll20, I wouldn't know what to do with it. David M. said: I tweaked the script a while back to only use Aura 2, code found here  (must be manually installed). This frees up aura 1 for other uses. FWIW, the tweaked version also includes a register to my SmartAoE script so that the auto saves/damage triggered by that script are recognized by Aura Health.
1647700693

Edited 1647700729
David M.
Pro
API Scripter
Copy the script text from the github link I sent, then go to your api setting page (where you would normally install from one-click). Click on the "New Script" tab, give it a name (like AuraHealth_DJM), paste the text in the black region under the name, then click the blue "Save Script" button at the bottom
1647703490
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
This short video shows both methods, IIRC: How to Install Roll20 API Scripts
Well I did as you said and saved the script (while I had my game open), re-typed !AURA, and even refreshed the game a few times, but it is still using up both Aura spots as you can see: David M. said: Copy the script text from the github link I sent, then go to your api setting page (where you would normally install from one-click). Click on the "New Script" tab, give it a name (like AuraHealth_DJM), paste the text in the black region under the name, then click the blue "Save Script" button at the bottom
1647708416
David M.
Pro
API Scripter
I should have added that you will need to remove or disable the original script. Does that fix things for you?
1647708791

Edited 1647710636
Yes! That did it. Thank you :) The only problem I am noticing is that I apparently have to go through and reassign tokens to every sheet in order for it to update to the new aura assignment. David M. said: I should have added that you will need to remove or disable the original script. Does that fix things for you?
Shard said: Yes! That did it. Thank you :) The only problem I am noticing is that I apparently have to go through and reassign tokens to every sheet in order for it to update to the new aura assignment. David M. said: I should have added that you will need to remove or disable the original script. Does that fix things for you? If you have tokenmod installed, change the X in the code below to whatever aura that is currently free to use thanks to the new script.  Just ctrl A all the tokens in each layer and set them, its just the existing tokens that should be under the effects of the wonky aura api.  Defaults only save the auras if you saved them with an active aura api running.  You could also use the tokenmod set default command but I find that to cause UI crashes alot in my own sessions so I never use tokenmod to set a default token anymore.   !token-mod --set auraX_radius#