Kariton Revolution Posted October 12, 2013 Posted October 12, 2013 random MVP monster spawn every 30min in prontera help me to make this script please thankyou Quote
Patskie Posted October 13, 2013 Posted October 13, 2013 Try this one : - script Sample -1,{ OnInit: setarray .mob_id[0],1002,1113,1399,1159; set .size, getarraysize(.mob_id); set .random, rand(.size); set .amount, 1; // amount of monster spawned set .monster, .mob_id[.random]; end; OnMinute00: OnMinute30: monster "prontera",150,150,getmonsterinfo(.monster, 0),.monster,.amount,strnpcinfo(0)+ "::OnKill"; announce getmonsterinfo(.monster, 0)+ " has been spawned in prontera",0; end; OnKill: announce "The monster " +getmonsterinfo(.monster, 0)+ " has been killed",0; end; } Screenshot : Quote
0 fericy Posted February 16, 2017 Posted February 16, 2017 it's can be used if the spawn every hours using "OnClock0000" and spawn time like this ? - script Sample -1,{ OnInit: setarray .mob_id[0],1002,1113,1399,1159; set .size, getarraysize(.mob_id); set .random, rand(.size); set .amount, 1; // amount of monster spawned set .monster, .mob_id[.random]; end; OnClock0000: OnClock0600: OnClock1200: OnClock1800: OnMinute00: announce getmonsterinfo(.monster, 0)+ " will spawned at prontera in 10 mins",0; OnMinute09: announce getmonsterinfo(.monster, 0)+ " will spawned at prontera in 1 mins",0; OnMinute10: monster "prontera",150,150,getmonsterinfo(.monster, 0),.monster,.amount,strnpcinfo(0)+ "::OnKill"; end; OnKill: announce "The monster " +getmonsterinfo(.monster, 0)+ " has been killed",bc_all | bc_blue; OnTimer15000: announce "Please wait till next announcement monster spawn",bc_all | bc_blue; end; } Quote
Patskie Posted October 12, 2013 Posted October 12, 2013 Kinda sleepy so i don't know if this will work - script Sample -1,{ OnInit: setarray .mob_id[0],1002,1113,1399,1159; set .size, getarraysize(.mob_id); set .random, rand(.size); set .amount, 5; // amount of monster spawned end; OnMinute30: set .monster, .mob_id[.random]; monster "prontera",0,0,getmonsterinfo(.monster, 0),.monster,.amount,strnpcinfo(0)+ "::OnKill"; end; OnKill: announce "Monster is already killed",0; end; } Quote
Lil Troll Posted October 12, 2013 Posted October 12, 2013 Kinda sleepy so i don't know if this will work - script Sample -1,{ OnInit: setarray .mob_id[0],1002,1113,1399,1159; set .size, getarraysize(.mob_id); set .random, rand(.size); set .amount, 5; // amount of monster spawned end; OnMinute30: set .monster, .mob_id[.random]; monster "prontera",0,0,getmonsterinfo(.monster, 0),.monster,.amount,strnpcinfo(0)+ "::OnKill"; end; OnKill: announce "Monster is already killed",0; end; } Add this for every 30mins OnMinute00: OnMinute30: Quote
Kariton Revolution Posted October 13, 2013 Author Posted October 13, 2013 its not working and also can you make the npc that when monster is spawn when you click the npc npc say the monster that been spawn exampledetale is the monster spawn in pronteranpc: mes" detale in prontera" if the monster died when you click the npc npc: mes"the monster is died. wait for the another monster to spawn" Quote
Question
Kariton Revolution
random MVP monster spawn every 30min in prontera
help me to make this script please thankyou
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.