Kariton Revolution Posted October 12, 2013 Group: Members Topic Count: 161 Topics Per Day: 0.03 Content Count: 429 Reputation: 5 Joined: 11/21/11 Last Seen: January 14, 2017 Share Posted October 12, 2013 random MVP monster spawn every 30min in prontera help me to make this script please thankyou Quote Link to comment Share on other sites More sharing options...
Patskie Posted October 12, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 1 hour ago Share 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 Link to comment Share on other sites More sharing options...
Lil Troll Posted October 12, 2013 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 276 Reputation: 24 Joined: 07/06/13 Last Seen: April 19, 2014 Share 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 Link to comment Share on other sites More sharing options...
Kariton Revolution Posted October 13, 2013 Group: Members Topic Count: 161 Topics Per Day: 0.03 Content Count: 429 Reputation: 5 Joined: 11/21/11 Last Seen: January 14, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Patskie Posted October 13, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 1 hour ago Share 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 Link to comment Share on other sites More sharing options...
0 fericy Posted February 16, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 12/22/16 Last Seen: August 9, 2017 Share 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 Link to comment Share on other sites More sharing options...
Question
Kariton Revolution
random MVP monster spawn every 30min in prontera
help me to make this script please thankyou
Link to comment
Share on other sites
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.