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 .
×

Nesting Attack Macros

Hey All. Sorry if this is the wrong place to post. I'm looking to build macros, and I want to learn about more advanced techniques, but I'm new to this and stupid to boot so that presents a problem. =) Specifically at the moment I'm trying to: 1) Make token macros that will a) roll an attack from the character's sheet that ALSO will target an enemy with the attack, b) compare the target's AC and c) will roll damage if it hits. (I've got this one SORT OF figured out, but it's clunky and limited in use. Any better ideas would be appreciated, particularly if there is a way to toggle a normal attack, advantage or disadvantage OR with auto-calculating crits. And side note: Is it possible to cause the damage to automatically subtract from the target's hp if it hits?) 2) After making those attack macros, I want to make a macro that you press, it gives a list in the chat of your attack macros you've made for your character. And then you can can just press the attack macro you want, target the creature you want, etc. I want to be able to do the same thing with spells,(sorted by levels to reduce clutter) but at that point I'm just being greedy, so I'll take it one step at a time. ;-) Any tips/tricks you guys can offer would be a MASSIVE help. Thanks
1602681455
Andreas J.
Forum Champion
Sheet Author
Translator
<a href="https://wiki.roll20.net/Complete_Guide_to_Macros_%26_Rolls" rel="nofollow">https://wiki.roll20.net/Complete_Guide_to_Macros_%26_Rolls</a> is a good starting point, it have brought together all the documentation on macro creation to find on one page. 1) you need to say what sheet you're using to figure out the attack macro. But at least target enemy AC is done like this: @{target|ac} And side note: Is it possible to cause the damage to automatically subtract from the target's hp if it hits?) Only with API, a Pro feature. ChatSetAttr is a common one that could be used for this. 2) After making those attack macros, I want to make a macro that you press, it gives a list in the chat of your attack macros you've made for your character. And then you can can just press the attack macro you want, target the creature you want, etc. Chat Menus trick by Keith might be a good alternative to do this.