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

Pc macro attack like npc macro attack

Is there any way to make the same or similar macro for pc's like npc's? I mean, I would like something like this for the players (pc) {selected|repeating_attack_$0_attack} A macro that rolls the attack, and when you click on the name (weapon name in the chat) then rolls the damage. thx
If you don't want the damage automatically rolled when you click on the macro, you have to adjust that on the character sheet. Then use: %{selected|repeating_attack_$0_attack} If you want to create chat menu, it would be: [@{selected|repeating_attack_$0_atkname}](~@{selected|character_id}|repeating_attack_$0_attack})
I have probably explained myself badly. I want to know if there is some way to make a similar or equal macro for Player Characters like NPC..... I meant something like this %{selected|repeating_npcaction_$0_npc_action} Then click on the weapon name ( HALBERD ) and.... display the damage Click on the macro (roll the attack), and then in the chat with a second click on the name (roll the damage). 
1613595344

Edited 1613595425
Let me know if I'm on the right path: @{selected|wtype}&{template:npcaction} {{name=@{selected|token_name}}} {{rname=[@{selected|repeating_attack_$0_atkname}](~@{selected|character_id}|repeating_attack_$0_attack_dmg})}} {{description=@{selected|repeating_attack_$0_atk_desc}}} But this will give you an ugly pink button to click on. That can be styled. And once you click on the button you'll get the PC damage template output.  That can be fixed also, but it'll require another macro.
Are you looking for the functionality or the visuals? If it's the functionality, what Jarren said is absolutely correct. You'd need a slightly different macro, though, as PCs aren't NPC sheets so their entries don't have the NPC tags. Just change the damage roll settings on the Settings page of the sheet. After you make that change, triggering your attacks will only output the attack roll (but with the PC template): And then you can click on the name of the attack to roll the damage:
1613597857
Jordan C.
Pro
API Scripter
I may be misunderstanding but isn't this feature standard for the PC attacks section? Where clicking short sword then subsequently the shortsword name to roll damage looks like this in chat. Then you can click and drag the attack from the character sheet to the macro bar to create the command to run the attack. If you meant something different just ignore me entirely.
I believe Rober wants the output of the npcaction/npcatk/npcdmg templates instead of the PC templates (atk/dmg). That requires rebuilding the attack and damage rolls in macros with the correct templates. He also asked to be able to click on the Name of the Weapon (listed in the rname for the npcaction template) to then roll for damage. Rober M. said: Then click on the weapon name ( HALBERD ) and.... display the damage Click on the macro (roll the attack), and then in the chat with a second click on the name (roll the damage). 
1613599833
Jordan C.
Pro
API Scripter
Oh if it's just the style that he wants then yeah rebuilding is necessary, but the clicking on the weapon name to roll damage exists in the pc template already. 
Both work great for me, thank you