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

Need macro to read the value of token aura 1 or 2's radius

1513621592

Edited 1513707135
Ajax
Pro
Is this possible?
1513645198
The Aaron
Pro
API Scripter
With a macro?  Not possible. With an ability? Not possible. With an API command? Definitely possible. Though I suppose to be perfectly fair, if you know ahead of time what token you want to reference with the macro/ability, you could write an API script to constantly keep that macro/ability rewritten with the correct value.  Or you could setup an API script that constantly keeps abilities on a character up to date with the size of the tokens two auras (though there starts to be problems when it comes to Mooks). What are you trying to accomplish?
1513707035

Edited 1513707197
Ajax
Pro
What I am trying to do is create some macros that allow me to create npcs or creatures on the fly without character sheets, simply plop down a token and using the values of the bars for HPs, AC, and I use bar3 for a generic value which the macros use for Attacks, Checks, and Saves, I was hoping that I could pull the auras values this way to give me two more generic values in which to use after setting the aura color to transparent.
1513713716
The Aaron
Pro
API Scripter
Probably writing a script to dynamically create throw away characters is the only way to make more attributes. 
The Aaron said: Probably writing a script to dynamically create throw away characters is the only way to make more attributes.  Here's one. Ajax said: using the values of the bars for HPs, AC, and I use bar3 for a generic value which the macros use for Attacks, Checks, and Saves, I was hoping that I could pull the auras values this way to give me two more generic values If you're not using the max fields of bars 2 and 3, you could try using those for two additional fields.