-
Make Holdtime a variable
Currently I am using the below code and I was wondering if just as the effect itself varies in intensity with a min and max val if I could do the same for the holdTime, so for instance it could hold anywhere between .5 sec to 5 sec.
effect("Minimax")(2)
holdTime = 3;
minVal = 20;
maxVal = 100;seed = Math.floor(time/holdTime);
seedRandom(seed,true);
random(minVal,maxVal)