Silvyre said: Toboe L. said: How do I create a simple multi-attack token macro for NPCs?
I can easily (although tediously, since I like naming my macro ability
buttons; can't use the "%{selected|repeating_npcaction_$0_npc_action}"
trick as far as I can tell), but if I want to make a simple macro for the Multiattack action that
will execute both the Bite & Claw attacks, I can't figure out how to
manipulate the roll templates so it only comes out in one giant roll
template box with the "Multiattack" title. How about handling this via Ability Command Buttons ? e.g. placing [@{selected|repeating_npcaction_$1_name}](~selected|repeating_npcaction_$1_npc_action) within one of your other Token Actions? Personally, I might prefer to use a "menu" of Ability Command Buttons to handle NPC actions. e.g. /w gm &{template:npcatk} {{name=[@{selected|repeating_npcaction_$0_name}](~selected|repeating_npcaction_$0_npc_action)
[@{selected|repeating_npcaction_$1_name}](~selected|repeating_npcaction_$1_npc_action)
[+](!
/w gm &{template:npcatk} {{name=[@{selected|repeating_npcaction_$2_name}](~selected|repeating_npcaction_$2_npc_action)
[@{selected|repeating_npcaction_$3_name}](~selected|repeating_npcaction_$3_npc_action)
[+](!
/w gm &{template:npcatk} {{name=[@{selected|repeating_npcaction_$4_name}](~selected|repeating_npcaction_$4_npc_action)
[@{selected|repeating_npcaction_$5_name}](~selected|repeating_npcaction_$5_npc_action)
[+](! /w gm &{template:npcatk} {{name=[@{selected|repeating_npcaction_$6_name}](~selected|repeating_npcaction_$6_npc_action) [@{selected|repeating_npcaction_$7_name}](~selected|repeating_npcaction_$7_npc_action) }}) }}) }})
}} I would save the above macro as something like #NPCActions, and then write "#NPCActions" on a new line at the end of my relevant Token Actions, or use it as a stand-alone macro. This specific macro displays NPC Actions two at a time in order to prevent the user from being potentially inundated with missing Attribute error messages. Press the "+" button to access the next two npc_action buttons (up to the npcaction_$7, currently). [EDIT: silly duplicate posts :P] Either I'm not copying this right or there's extraneous code; I get a error when attempting to write a Multiattack macro for the Lizardfolk creature: You tried to use the repeating section row at index 5 for repeating_npcaction, but there doesn't seem to be a row at that index. No attribute was found for @{selected|repeating_npcaction_$5_name}" So I tried deleting all the lines for the @{selected|repeating_npcaction_$5_name} and onward, and, well, I must've deleted the wrong bits 'cause it's still not working. I only have 4 abilities for the Lizardfolk at the moment: one to generate its HP via its HPformula (which hopefully has been fixed now instead of my manual hack), and one for each attack option: Bite, Heavy Club, Javelin, and Spiked Shield, in that order. Generally speaking, the multiattack typically only applies to two actions anyway; the Lizardfolk happens to have 4 options. Most of my other monsters for the next session only have 2 actions during multiattack, so if I could just combine them into one macro that outputs into a single roll template that would be great.