Accesso rapido:  

Forum: VirtualDJ Technical Support

Topic: How to delay some actions in a command until after others?
Edited...
 

Inviato Fri 17 Sep 21 @ 7:06 pm
NicotuxHome userMember since 2014
deck 2 repeat_start 'rsiFadeD' 120ms -1 & level 0 ? repeat_stop 'rsiFadeD' & unload & volume 100% : level -0.04

to delay action for 4 secs
repeat_start 'waittime' 4000ms 1 & action
 

Inviato Fri 17 Sep 21 @ 7:27 pm
Thank you! That worked great! One more thing I'd like to test, if it's possible in the same command... how would I get it to, say, perform another action after 1500ms of the first action, without delaying or affecting the ones waiting until the end? So say I wanted to start deck 1 after 1500ms (which is part way through the time it takes to do the rsiFadeD), is it possible to do that in the same command?
 

Inviato Fri 17 Sep 21 @ 7:43 pm
locodogPRO InfinityModeratorMember since 2013
A couple of ways, rsi's calling rsi's can be problematic but as a "wait" it's not so bad

repeat_start 'waittime' 4000ms 1 & action & repeat_start 'waitMOREtime' 15000ms 1 & action
 

Inviato Fri 17 Sep 21 @ 7:48 pm
NicotuxHome userMember since 2014
directly in one script I do not think so
some workaround using external script may depend on the location of the script
custom button, pad, map, or multibutton nothing is working the same
 

Inviato Fri 17 Sep 21 @ 7:48 pm