Jump to content
Sign in to follow this  
hellman2741

Fight Cave wave npcs

Recommended Posts

[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
thanks i needed this.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×