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 Multiple Attack Options

I'm trying to get a macro going that will allow me to pull up all the attack options of a selected token, then roll the attack I choose. For instance, let's say I have a ranger NPC with two attacks- a shortsword and a bow. I want to be able to select that token, click the macro button, and have buttons for the shortsword and bow pop up in chat, allowing me to click one of them and roll an attack. I know how to make it roll the attack for a selected token %{selected|repeating npcaction_ $0_npc_action} but I'd like for it to just pull up the entire list without having to do $1, $2, etc. Is that a possibility?
You could make abilities / token actions for each of those things, click the token and they pop up, click the attack.  Here is how: Click the attack from the sheet. Click into the chat entry bubble and hit the up arrow. Cut and paste all of it to a new ability on the attributes and abilities tab on the character sheet. Name it whatever you want (I usually use emoji to keep the buttons small). Check set as token action. Click on the token and the new attack should be there to use.
I'm looking more for something that I can reuse for any NPC and monster without having to create token actions for every single one. A one-size-fits-all macro, if you will.
1596359491
Oosh
Sheet Author
API Scripter
That's covered pretty exhaustively in this thread .
I correctly understood that a universal macro is needed for all NPCs but it is not a mandatory gameplay action?
Oosh said: That's covered pretty exhaustively in this thread . That's pretty close to what I was looking for, and it works well so far. Thanks!