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

Stupid question about !Roll20AM

I'm trying to delay the sound of a macro attack, so that it doesn't overlap with the noise of the dice rolling on the screen, but for some reason it is not delayed. Its a handcrossbow attack macro I add at the end of the macro this command:  !roll20AM --audio,play,nomenu|Arrow  So the sound is played but at the same time with the sound of the dice rolling on the screen.  Executing the !roll20AM --config I put in the tracks list of the API, delay 3 seconds in the Arrow track, but nothing happen. 
Does anyone know if I'm doing anything wrong? 
I put this line  !roll20AM --audio,play,nomenu, delay:3,stop |Arrow But now the sound doesn't play
1610498415

Edited 1610498461
dumb question, but have you tried setting the delay on the specific track by clicking the menu item and selecting the delay?  i'm testing that in mine and delay is working.    i had tested it at 3 and at 0.  there was a noticeable delay when I set it to 3.  So hopefully maybe might help you as a work around. 
1610507288

Edited 1610507337
Victor B.
Pro
Sheet Author
API Scripter
You have a stop command so it's stopping.    You have to use a --edit, delay: 3|Arrow Then --audio,play,nomenu|Arrow
This is my macro..... the sound is still not delayed /em @{selected|token_name} attacks with its hand crossbow! &{template:simple} {{rname=Ranged attack}} {{r1=[[1d20 + @{selected|pb} + @{selected|dexterity_mod}]]}} {{always=1}} {{r2=[[1d20 + @{selected|pb} + @{selected|dexterity_mod}]]}} {{charname=Ammunition (range 30/120), light, loading}} !ammo @{selected|character_id} repeating_resource_$0_resource_right -1 Bolts !roll20AM --edit,delay:4|CrossbowFire_ST_REV01 !roll20AM --audio,play,nomenu|CrossbowFire_ST_REV01
For any reason now works....  I only add one line instead of two. !roll20AM --audio,play,nomenu,delay:2|CrossbowFire_ST_REV01  and i set to 2 delay in the menu
Is there a way to put several sounds, for example to an attack, and play only one of them randomly?
You can create a playlist and use the command to have shuffle through sounds like !roll20AM --audio,play,nomenu,delay:2,mode:shuffle|The%20Horizon !roll20AM --audio,play,nomenu,delay:2,mode:trueRandom|The%20Horizon
Something like this? 3 track example Sound1, Sound2, Sound3 !roll20AM --audio,play,nomenu,delay:2,mode:shuffle|Sound1, Sound2, Sound3 !roll20AM --audio,play,nomenu,delay:2,mode:trueRandom|Sound1 !roll20AM --audio,play,nomenu,delay:2,mode:trueRandom|Sound2 !roll20AM --audio,play,nomenu,delay:2,mode:trueRandom|Sound3 ??? :P
If sound1 or sound2 or Sound3 are a playlist then yes. To be clear though I was refering to play list in the jukebox  Jukebox - Roll20 Wiki  . Essentially you create folders and put your tracks into that play list. Then you import them into roll20am and then use the above commands. Example let say I have play list that is named Combat FX. Inside of that list i have sound1, sound2, sound3.  I have it imported into roll20am (each time you add stuff to your jukebox you have delete the current import and import it new again). I then would use this command: !roll20AM --audio,play,nomenu,delay:2,mode:trueRandom|Combat%20FX or !roll20AM --audio,play,nomenu,delay:2,mode:shuffle|Combat%20FX
1611120485

Edited 1611120635
Victor B.
Pro
Sheet Author
API Scripter
Set playlist to random.  The more tracks the better then you issue the play/delay against the playlist.  More is better.  10 tracks has a less chance of random than 20. Set the playlist to random via edit command or menu.  Menu is easier. Setting mode requires and an edit command as that's a persistent state.  Set it once via menu and then your good, simple audio, delay command and good to go