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

Macro for Aura request

Hello all, Is anyone aware of a macro that will "turn on" a 10 ft radius aura? Of course I can do this manually, but I am interested in a macro because it would make my life so much easier! Thank you!
That's going to fall into the realm of API scripts.
TokenMod.
However, if you want a simple script... pick a status icon from this list and change BlastIcon to that icon name. Then in game, you can add that icon to any token and give it a number 1-9 and it will create an aura on that token that many squares or units (it scales to the map). "red", "blue", "green", "brown", "purple", "pink", "yellow", "dead", "skull", "sleepy", "half-heart", "half-haze", "interdiction", "snail", "lightning-helix", "spanner", "chained-heart", "chemical-bolt", "death-zone", "drink-me", "edge-crack", "ninja-mask", "stopwatch", "fishing-net", "overdrive", "strong", "fist", "padlock", "three-leaves", "fluffy-wing", "pummeled", "tread", "arrowed", "aura", "back-pain", "black-flag", "bleeding-eye", "bolt-shield", "broken-heart", "cobweb", "broken-shield", "flying-flag", "radioactive", "trophy", "broken-skull", "frozen-orb", "rolling-bomb", "white-tower", "grab", "screaming", "grenade", "sentry-gun", "all-for-one", "angel-outfit", "archery-target" on("change:token", function(obj, prev) { // CONFIGURATION var BlastIcon = "chemical-bolt"; var SquareAura = false; var AuraColor = "#990000"; // Exit the script if the object is not a token or is a drawing... if (obj.get("subtype") != "token" || obj.get("isdrawing") == "true") return; var AuraRadius = parseInt(obj.get("status_" + BlastIcon)); var Scale = parseInt(getObj("page", obj.get("pageid")).get("scale_number")); if (obj.get("statusmarkers").indexOf(BlastIcon + "@") != -1) { obj.set("aura1_radius", AuraRadius * Scale); obj.set("aura1_color", AuraColor); obj.set("aura1_square", SquareAura); obj.set("showplayers_aura1", true); } if (AuraRadius == false || obj.get("statusmarkers").indexOf(BlastIcon + "@") == -1) { obj.set("aura1_radius", ""); obj.set("status_" + BlastIcon, true); } });
1465824154
Andrew R.
Pro
Sheet Author
Based on my experience, running a game without TokenMod would be … inefficient. 😉
Thanks Everyone!