Accesso rapido:  

Forum: General Discussion

Topic: extended vdj scripts
Hi,

how do I repeat something for x times and then do something else ?

I can do e.g.

repeat_start 'beat_loop_crossfading' 8bt 5 & crossfader 0% & wait 4bt & crossfader 100%

but what if i want to do something else after that , how do I separate it from repeat_start,

e.g. say I would want to pause after the loop

repeat_start 'beat_loop_crossfading' 8bt 5 & crossfader 0% & wait 4bt & crossfader 100% ; pause

i.e. have the pause outside the loop, how do I that (the ';' obviously doesn't work).
 

Inviato Mon 15 Aug 22 @ 12:06 pm
Query if acondition has been met or not. if true do this, else do that...

For example checking if the repeat is still true :
repeat_start 'beat_loop_crossfading' 8bt 5 & crossfader 0% & wait 4bt & crossfader 100% & repeat_start 'beat_loop_crossfading' ? nothing : pause
 

Inviato Mon 15 Aug 22 @ 12:34 pm
awesome, thanks!
 

Inviato Mon 15 Aug 22 @ 1:40 pm