I want to spawn different kind of mobs that saved on the array. 5 Levels.
Can't make it work.
Here's my code:
set .@count,0;setarray .@namelevel$[0], ".@level0", ".@level1", ".@level2", ".@level3", ".@level4";setarray .@level0[0], 1002, 1002, 1002;setarray .@count0[0], 1, 1, 1;setarray .@level1[0], 1002, 1002, 1002;setarray .@count1[0], 1, 1, 1;setarray .@level2[0], 1002, 1002, 1002;setarray .@count2[0], 1, 1, 1;setarray .@level3[0], 1002, 1002, 1002;setarray .@count3[0], 1, 1, 1;setarray .@level4[0], 1002, 1002, 1002;setarray .@count4[0], 1, 1, 1;for( set .@i, 0; .@i < getarraysize(.@namelevel$[.@count]); set .@i, .@i +1 ) { // spawn monster here and call the :monsterKilled label and count mobs on the map // if mob count is 0 set .@count, .@count+1 // and do the for loop again // so it will be .@level1 // until .@level4 finishes}Any work around?
I want to spawn different kind of mobs that saved on the array. 5 Levels.
Can't make it work.
Here's my code:
Thank you in advance.
Share this post
Link to post
Share on other sites