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

Link one ability button to multiple ability calls?

I've found that simple macros are great for quickly running strings of calls (such as multiattack) with one click, and they work well as standalone buttons, e.g.: %{selected|repeating_npcaction_$0_npc_action} %{selected|repeating_npcaction_$1_npc_action} %{selected|repeating_npcaction_$1_npc_action} %{selected|repeating_npcaction_$1_npc_action} But is there a way to nest this string of calls into an ability button? Unfortunately, it doesn't seem to be as easy as: {{ Attacks = [Multi](~selected|repeating_npcaction_$0_npc_action) (~selected|repeating_npcaction_$1_npc_action) (~selected|repeating_npcaction_$1_npc_action) (~selected|repeating_npcaction_$1_npc_action) }} Any info is much appreciated. Thank you!
Maybe you could split it in two... Let's say you have a first macro called "multiattack", containing your 4 calls to actions Then you could make the ability button like this: {{ Attacks = [Multi](!
#multiattack) }} Careful though: if you store the button inside a macro, the moment you save it the 
 will be converted to a carriage return, so every time you edit it you MUST restore the html notation otherwise the macro will stop working (OR you could store it in a sheet macro, which will not convert the html upon saving)
1587648400

Edited 1587648430
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
You can modularize it. Create an Ability called "Actions" Actions %{selected|repeating_npcaction_$0_npc_action} %{selected|repeating_npcaction_$1_npc_action} %{selected|repeating_npcaction_$1_npc_action} %{selected|repeating_npcaction_$1_npc_action} The button that calls it is [Multi](~Actions) The syntax for calling the ability might vary depending on how it is built and where it is stored.
Thank you both for your responses! @keithcurtis this solution is simple and works perfectly, exactly what I had been trying to accomplish.