hellman2741 0 #1 Posted April 9, 2012 [CODE]private int[][] waveList = { { }, { 2628 }, { 2628, 2628 }, { 2629 }, { 2629, 2628 }, { 2629, 2628, 2628 }, { 2629, 2629 }, { 2631 }, { 2631, 2628 }, {2631, 2628, 2628 }, { 2631, 2629 }, { 2631, 2629, 2628 }, { 2631, 2629, 2628, 2628 }, { 2631, 2629, 2629 }, { 2631, 2631 }, { 2741 }, { 2741, 2628 }, { 2741, 2628, 2628 }, { 2741, 2629 }, { 2741, 2629, 2628 }, { 2741, 2629, 2628, 2628 }, { 2741, 2629, 2629 }, { 2741, 2631 }, { 2741, 2631, 2628 }, { 2741, 2631, 2628, 2628 }, { 2741, 2631, 2629 }, { 2741, 2631, 2629, 2628 }, { 2741, 2631, 2629, 2628, 2628 }, { 2741, 2631, 2629, 2629 }, { 2741, 2631, 2631 }, { 2741, 2741 }, { 2743 }, { 2743, 2628 }, { 2743, 2628, 2628 }, { 2743, 2629 }, { 2743, 2629, 2628 }, { 2743, 2629, 2628, 2628 }, { 2743, 2629, 2629 }, { 2743, 2631 }, { 2743, 2631, 2628 }, { 2743, 2631, 2628, 2628 }, { 2743, 2631, 2629 }, { 2743, 2631, 2629, 2628 }, { 2743, 2631, 2629, 2628, 2628 }, { 2743, 2631, 2629, 2629 }, { 2743, 2631, 2631 }, { 2743, 2741 }, { 2743, 2741, 2628 }, { 2743, 2741, 2628, 2628 }, { 2743, 2741, 2629 }, { 2743, 2741, 2629, 2628 }, { 2743, 2741, 2629, 2628, 2628 }, { 2743, 2741, 2629, 2629 }, { 2743, 2741, 2631 }, { 2743, 2741, 2631, 2628 }, { 2743, 2741, 2631, 2628, 2628 }, { 2743, 2741, 2631, 2629 }, { 2743, 2741, 2631, 2629, 2628 }, { 2743, 2741, 2631, 2629, 2628, 2628 }, { 2743, 2741, 2631, 2629, 2629 }, { 2743, 2741, 2631, 2631 }, { 2743, 2741, 2741 }, { 2743, 2743 }, { 2745 } };[/CODE] Left the first one blank so all you have to do is: [CODE]for(int i = 0; i < waveList[waveId]; i++) {[/CODE] Do with it what you will. Share this post Link to post Share on other sites
axter 0 #2 Posted April 9, 2012 thanks i needed this. Share this post Link to post Share on other sites
staff of lightness pking 0 #3 Posted May 13, 2012 Cheers Bud, keep up the good work. Share this post Link to post Share on other sites
darkside1222 0 #4 Posted June 1, 2012 Thanks for this dude :D saves a lot of time Share this post Link to post Share on other sites