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

D&D macro help

I am DMing for a group and a lot of them are new players. we are playing 5e and using the roll20 character sheet. I read somewhere I could make a character for macros and link players macros to it using a statement like %{mycharacter|macro}. I have these macros set as token actions. for some reason I can get them to work but when my players try to use the macros it gives an error. is there a way to fix this short of making each person know how to write their own macros? I believe this may be above some of them to do.
1535507735
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
In general (though it would help if you posted a few examples), token actions that will be available to all players need to be on the Collections tab. A macro sheet could contain Abilities (macros) that affect all character tokens, but in general, the problem is getting them to the players in order that they can trigger them. Chat menus can make commands and buttons available to all players, but again, triggering the chat menu usually needs to be done by the character controlling the Macro sheet or through a macro on the collections tab.
I didnt think to include screen shots. so what I did was create a macro character like below   Then I made a macro for the individual characters that referred back to the ones each needed such as or created macros on the macro tab in the same way as needed
Im just wanting to keep from having to write macros for each player individually, but I will if need be
1535516931

Edited 1535516970
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Try rewriting the macro on your macro sheet as: % {selected|repeating_attack_$0_attack} "%" instead of "@". Right now it's trying to access an attribute (that doesn't exist) instead of a built-in sheet macro. I've tested on a couple of test characters, referencing the macro sheet ability, and gotten it to work. Let me know if it fixes your problem.
I figured out my mistake. My macro on my macro sheet did need to be rewritten like you suggested, but I had also overlooked the fact that my macro sheet needed to be set up so that all players could adjust and control it. so I fixed that and marked it as not in any ones journal and also archived it. now it seems to work fine. thank you for your help