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

Is there a way to make a gif play when you score a critical hit with a weapon attack?

I am specifically referring to the 5e sheet. As the question indicates, I was looking for a way to have a gif play upon scoring a critical hit (only). I already know how to add a gif to the "Description" box under an attack so it shows up every time you click on the weapon, that's not what I am talking about here. I only want the gif to show up in chat upon scoring a critical hit. Please note that I am not an experienced macro coder, so keep it simple.
1762561400
Gauss
Forum Champion
Hi Shard,  Which "5e sheet"? There are over a dozen on Roll20, assuming you are referencing D&D 5e and not one of the other games with "5e" in the name.   If you don't know the name please supply a screenshot. 
Yes, the D&D 5e sheet
1762563965

Edited 1762564067
Andrew R.
Pro
Sheet Author
I would suggest starting with ScriptCards, which can watch the chat log and trigger sounds and effects. The specific ScriptCards thread is the place to start. <a href="https://app.roll20.net/forum/permalink/11175456/" rel="nofollow">https://app.roll20.net/forum/permalink/11175456/</a>
1762565057
Gauss
Forum Champion
Shard said: Yes, the D&amp;D 5e sheet I apologize for not being more clear. There are well over a dozen D&amp;D 5e character sheets on Roll20. Which one of those character sheets you are using makes a difference in how to answer your question. Please supply the name of the character sheet, if you don't know the name please supply a screenshot of the sheet for identification.&nbsp;
1762572817

Edited 1762572902
Andrew R. said: I would suggest starting with ScriptCards, which can watch the chat log and trigger sounds and effects. The specific ScriptCards thread is the place to start. <a href="https://app.roll20.net/forum/permalink/11175456/" rel="nofollow">https://app.roll20.net/forum/permalink/11175456/</a> Well I'm a player in the game in question where I want to use the effects, not the Game master, so thanks but I don't think that helps me. And also like I mentioned, I am not a coder and have no idea how to do any of that.
1762579813

Edited 1762580058
Gauss
Forum Champion
For future reference that is the D&amp;D 5e 2014 by Roll20 character sheet. The answer is yes, you can insert gifs into your attacks.&nbsp; But, if you want it to trigger off of a critical it is tricky. If you just wanted to stick a gif in your description that is easy, but making it only appear on a critical means only one field can be used.&nbsp; You can do the following: Edit the attack Put this into the critical section of the damage line:&nbsp; 1dX]][space](gif url)[[0 Where X is the damage dice and gif url is the url to your gif.&nbsp; Leave the 0 alone, you might not like it but it needs to stay there.&nbsp; Example: (note: I disabled the link below as for this purpose I just need it to be an example. Clicking on it won't go anywhere.) 1d8]][ ] (<a href="https://compote.slate.com/images/697b023b-64a5-49a0-8059-27b963453fb1.gif)[[0" rel="nofollow">https://compote.slate.com/images/697b023b-64a5-49a0-8059-27b963453fb1.gif)[[0</a> Note: crit range of 10 is just for testing purposes.&nbsp;
Gauss said: For future reference that is the D&amp;D 5e 2014 by Roll20 character sheet. The answer is yes, you can insert gifs into your attacks.&nbsp; But, if you want it to trigger off of a critical it is tricky. If you just wanted to stick a gif in your description that is easy, but making it only appear on a critical means only one field can be used.&nbsp; You can do the following: Edit the attack Put this into the critical section of the damage line:&nbsp; 1dX]][space](gif url)[[0 Where X is the damage dice and gif url is the url to your gif.&nbsp; Leave the 0 alone, you might not like it but it needs to stay there.&nbsp; Example: (note: I disabled the link below as for this purpose I just need it to be an example. Clicking on it won't go anywhere.) 1d8]][ ] (<a href="https://compote.slate.com/images/697b023b-64a5-49a0-8059-27b963453fb1.gif)[[0" rel="nofollow">https://compote.slate.com/images/697b023b-64a5-49a0-8059-27b963453fb1.gif)[[0</a> Note: crit range of 10 is just for testing purposes.&nbsp; That's outstanding and it works! Thank you very much.