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 to display the entire stat block of NPC into chat

February 07 (6 years ago)

Like with a press of a button it displays the selected tokens stat block into chat. Like select a Guard token and press the macro and it posts the stats, saves, skills, attacks, etc from the NPC sheet. TIA! 

February 07 (6 years ago)
keithcurtis
Forum Champion
Marketplace Creator
API Scripter

Which sheet are you using? The Shaped Sheet has this capability, but I don't think the Roll20 5e does. I think some folks have built it in the past, but the "button style" for Ability buttons makes it rather unwieldy.

February 07 (6 years ago)

Edited February 07 (6 years ago)
vÍnce
Pro
Sheet Author

I bet my player's have never created/used such a macro.  lol

You can create a macro that pull any stats you want from a linked token.

example; (you could use the default or your sheet's roll template for better display)

/w gm Name:@{target|character_name} HP:@{target|HP} AC:@{target|AC}
February 07 (6 years ago)

Edited February 07 (6 years ago)
Spren
Sheet Author

This probably isn't what you are looking for but I only just found this out thanks to this tweet and maybe you'll find it useful. If the monster is in the compendium you can quick view it's stats. Check it out: https://twitter.com/roll20app/status/1092958132114907136


February 07 (6 years ago)

Edited February 07 (6 years ago)

I have a macro for the Roll20 OGL sheet that does just what you are looking for, it lacks the skills but gets most of it, even rolls the HPs.


/w GM &{template:npcaction} {{rname=@{selected|npc_name}}} {{description=**AC** = @{selected|NPC_AC}
**Type** = @{selected|npc_type}
**Challenge** = @{selected|npc_challenge}
**XP** = @{selected|npc_xp}
**HP** = @{selected|hp|max} **([[ [[@{selected|npc_hpformula}]] ]])**
**Speed** = @{selected|npc_speed}
_______________________
**Str:** @{selected|strength} (@{selected|strength_mod}) **Dex:** @{selected|dexterity} (@{selected|dexterity_mod})
 **Con:** @{selected|constitution} (@{selected|constitution_mod}) **Int:** @{selected|intelligence} (@{selected|intelligence_mod})
 **Wis:** @{selected|wisdom} (@{selected|wisdom_mod}) **Cha:** @{selected|charisma} (@{selected|charisma_mod})
_______________________
**Passive Perception:** = [[@{selected|npc_perception} +10]] _______________________
**Vulnerable** = @{selected|npc_vulnerabilities}
**Resist** = @{selected|npc_resistances}
**Immunity**  = @{selected|npc_immunities}
**Condition Imnty**  = @{selected|npc_condition_immunities}
**Senses**  = @{selected|npc_senses} }}