MADRIX Forum • random cue stack
Page 1 of 1

random cue stack

Posted: Tue Aug 18, 2015 8:40 pm
by mstrkrft69
how dp i make a random cue stack. say i have 100 cues and i want to load them into the stack in a random order. is there a way to do this automatically?

thx

Re: random cue stack

Posted: Thu Aug 27, 2015 8:20 am
by Wissmann
Yes, use the main out macro for this.
The Following code will set your cue each 10 seconds (if your main mixer runs on 50 Frames per second) between cue 1 and cue 100.

Code: Select all

int f;

void InitEffect()
{

}

void PreRenderEffect()
{
	f = (f+1)%500;
	if(f == 0)
		CuelistGoto(random(0,99));
}