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 .
×
This post has been closed. You can still view previous posts, but you can't post any new replies.

Attack Action Table macro for PC's

Hi! I'm trying to work on a PC's action table macro to make my players easy to know what kind of attacks do they have, without needing to have their character sheet open all the time. The macro I'm currently trying is this one: /w gm @{selected|wtype}&{template:default}{{name=@{selected|character_name} Attacks}} {{ Attacks =[@{selected|repeating_attack_$0_name}](~selected|repeating_attack_$0_attack) [@{selected|repeating_attack_$1_name}](~selected|repeating_attack_$1_attack) }} It actually works, but, whenever I test it it wil throw the next comment:  Could you help me with this pls? Thanks!!
You need to use the atkname attribute. There is no such attribute on the attacks for just name. /w gm @{selected|wtype}&{template:default}{{name=@{selected|character_name} Attacks}} {{ Attacks =[@{selected|repeating_attack_$0_atkname}](~selected|repeating_attack_$0_attack) [@{selected|repeating_attack_$1_atkname}](~selected|repeating_attack_$1_attack) }}
Ohhhhh, my bad XD thanks for all, now its working! :D