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

Can music and animations be commanded via text?

Good day, A couple of questions: Is it possible to activate an animation from within a roll? If so, can it be targeted (a magic missile shooting from a selected token to a target token, etc)? To be clear, I already know how to basically use the FX engine, I just don't know if they can be commanded via text. Is it possible to activate sound from within a roll? (A magical whooosh when a character fires a magic missile, etc) I do have basic knowledge of the jukebox, as well as finding and using sounds from soundcloud. I just am uncertain if they can be commanded via text. Thank you very much.
1467490691
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Sounds can with the api, f x can by default
1467493988
Gold
Forum Champion
What Scott said & linked is right. Also search around the forum for more examples of ways people have included fx in macros like magic missile. SoundFX is actually the name of one of the API scripts, for the sound question.
1467519305

Edited 1467519392
Yes and you can do combinations. Here is a macro from my SWN game: /fx glow-smoke [marks the firing character with a puff of smoke] !sfx song:Thunder action:play unique:true volume:90 [sends the sound to the API] * /me &{template:attack} {{name=Thunder Gun}} {{rollValue=[[1d20 + @{target|bar2} + @{selected|attack_bonus} + 1 + ?{Attribute Modifier|0} + ?{Other Modifier|0}]]}} {{damage=[[2d10]]}}  [determines and displays hit and damage] /fx Laser @{target|PC|token_id} @{target|Dragon|token_id} [sends a pulse of blue/white light from the firing token to the target token] *[after the light pulse starts the sound actually plays] This uses the SoundFX API script.
Thank you all very much. Those suggestions are what I was looking for.