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

Repeating/Delaying FX on Tokens?

So I'm building a pirate campaign for my players and I realized I can set up actual Cannons on ships and have them fire with smoke effects and play the sounds automatically. But the problem I'm running into is trying to setup a broadside or salvo fire. This is what I have right now: !roll20AM --play|Cannon Salvos /fx bomb-smoke -LDB-YGLmibj13opvGd6 /fx bomb-smoke -LDB-e3kaWCdi-8NlWrq /fx bomb-smoke -LDB-IfYOov0NYE6-ZLS /fx bomb-smoke -LDB-SI9hH62j74FfRXX What I'd like to do is make it so the effects are delayed by a few seconds or so it'll fire down the line for example, or get them to repeat for broadsides or rapid fire. Here's hoping anyone has some ideas or information. Thanks for any help or advice!
1527103193

Edited 1527103491
Bast L.
API Scripter
Here's what I came up with. You'll need to hard-code the delays into the macro. Also, it's better to nest the Fire macro, that way you can call the sound at the same time. Edit: Actually, you might be able to use 2 queries in a nested Fire macro instead of hard coding the time. <a href="https://gist.github.com/Bastlifa/15555049add30ff40" rel="nofollow">https://gist.github.com/Bastlifa/15555049add30ff40</a>...