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 button for store and bring up gifs upon pressed help.

hello there,so I got know how to add gifs in roll20 but I got a question. so whenever we came across a certain situation in the game,in which we start combat,win,get a critical hit,etc...I like to bring up gifs for all sorts of situations. So is it possible to make such a macro which would bring up a selection of options such as 'combat' then it would bring up the gif I use for when rolling initiative, 'critical hit' for when someone scores a critical hit,etc. how would a macro like that work? can someone help me?
1608243389
Jordan C.
Pro
API Scripter
Here is an example that uses external links for gifs: ?{Scenario|Sleep,[gif](<a href="https://media.giphy.com/media/ZeijZbSFbVcq47fQBX/giphy.gif)|Combat" rel="nofollow">https://media.giphy.com/media/ZeijZbSFbVcq47fQBX/giphy.gif)|Combat</a>, [gif](<a href="https://media.giphy.com/media/3oEjI1erPMTMBFmNHi/giphy.gif" rel="nofollow">https://media.giphy.com/media/3oEjI1erPMTMBFmNHi/giphy.gif</a>)} Essentially you need a link that ends in ".gif" and using a query macro "?{ Title | Option_A, [gif]( link )| Option_B , [gif]( link )} where you can add as many options as you like and the options are the names used to describe the scenario.
1608245734
Gold
Forum Champion
Looks good, Jordan.
thanks you,Jordan,that´s what I was looking for
1608246437
Jordan C.
Pro
API Scripter
Thanks! And happy to help!