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

Add emote to an attack from character sheet

1587118653

Edited 1587120863
Hello everyone, i'm new in Roll20 world and also in macros world, obviously! I'm trying to show associate an attack roll of my PCs with a random sentence. Example: Rogue attacks with short sword from his character sheet, along with dice roll i want to see a random sentence from a table i've made. I made a macro (my first macro!) that shows a random sentence from a table when you select the token and then click on macro, it's possible to run automatically this macro when a PC makes an attack? @{selected|token_name}: [[1t[melee-quotes]]] Thanks to you all!! =)
Solved! *@{selected|token_name}:* [[1t[azioni]]][[1t[melee-quotes]]] [@{repeating_attack_$0_atkname}](~@{character_name}|repeating_attack_$0_attack)
Great idea to use a rollable table of quotes! Haven't tried that before. Lots of fun ways to implement your idea, while giving it the style it deserves. Maybe the simplest is to add the rollable table into the description field of the weapon attack, which has the benefit that you can use a variety of flair-quote tables based on the type of weapon, and it will roll no matter how the player fires the weapon: However, if the player does like to use macro buttons to make weapon attacks, you could also drop your flair quotes into a roll template to give it a standard stylization within the chat line, something like this: &{template:npcaction} {{name=@{selected|character_name}}} {{description= [[1t[melee-quotes]]] }} %{selected|repeating_attack_$0_attack} It's worth noting that you can trigger the rollable table from within a number of rollable areas on the D&D 5e sheet whenever the weapon (or spell!) is clicked on the character sheet. You don't even need to set it into a button in many cases.
Thank you very much!  Now it shows the sentence in the default template and looks more clear!   "Tervor tries to hit the enemy[...]" I put in the sheet attacks only the reference to the tables without the template.
Righto! I like to use a template when I set them up as "Token Action" macros. It is a different method. The output will work differently (your emote will be a separate chat than your weapon attack altogether. Here's what the output looks like in chat using this method: