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

Need help: Macro Spellcasting Path Finder

Hi everyone, i am sad to say that i am absolutely bad at creating macros and my GM doesnt speak english well, so i am kinda tasked to find a way to make the following possible: I play an arcanist and i thought it would be great to have a makro that: Casts the spell (a simple roll will do we can add boni and mali ourselves Shows a picture (link) of the spell Plays a sound (of the spell) Help please....i really cant figure that out ^^ all i found was how to show a picture via link but not how to combine it with anything else
1512155625
The Aaron
Pro
API Scripter
To do all of that, you'd need an API script.&nbsp; You can do some of it with the&nbsp; Basic Formatting tools: [some text describing the image](<a href="http://some.url/to/an/image.png" rel="nofollow">http://some.url/to/an/image.png</a>) [Spell Description](<a href="http://some.url/link/to/the/spell.html" rel="nofollow">http://some.url/link/to/the/spell.html</a>) [[ 3d6+8 ]] fire damage The first line is an image.&nbsp; It will scale to it's max size or the width of chat, whichever is smaller.&nbsp; It needs to end in .jpg or .png.&nbsp; If your image url ends in something else, you can add #.png to the end of it to force it to be treated as an image.&nbsp; The text in the [ ] at the beginning describe the image, but aren't visible except to screen readers (and possibly as a tooltip on hover). The second line is a link to a page.&nbsp; Basically, if the URL isn't an image, it will be a link.&nbsp; The text in the [ ] will be displayed and clicking it will load the link. The final line is just an inline dice roll and some text.
That helps thanks =) how would i add a soundeffect from the database?
1512157645
The Aaron
Pro
API Scripter
You'd need an API script (requires the game creator to be a currently active Pro Subscriber) like Roll20 Audio Master.
1512161484

Edited 1512161639
ah great ^^ would it in theory be possible to use a sound from a link? like an mp3 link or youtube video? Though my gm said he would go Pro if the group stays stable for 2 months ^^ And thanks for the help =)
1512162055
The Aaron
Pro
API Scripter
Not really.&nbsp; The links would just take you to another site.&nbsp; You could send a link to a youtube video to all the players, but they'd have to go individually to it, have it load, click play, and listen to it.&nbsp; Not really what you want for the spell effects you're dropping.
And one more question - if i just wanted to add an image to a spell roll....since (link) doesnt work without API, i am asking myself if there is a possibility to do that without like some syntax?
1512234343
The Aaron
Pro
API Scripter
None of the examples in my first reply require the API, you can just link to an image with this syntax to have it displayed in the chat: [alt text](URL#.png)
now it works... XD i am really dumb when it comes to this stuff. Thanks =)