croxinuz Posted March 24, 2013 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 62 Reputation: 0 Joined: 03/18/12 Last Seen: April 19 Share Posted March 24, 2013 may someone help me for auto event npc spawn Random monster on Random map ? exampel like : i want spawn mob with number 1001,1002,1003,1005 random on a random map prontera,morocc,izlude every 30minute. sorry for my bad english Quote Link to comment Share on other sites More sharing options...
1 Capuche Posted March 24, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted March 24, 2013 Like that ? - script spawn_woe -1,{ OnInit: setarray .mob_ID, 1001, 1002, 1003, 1005; // add more mob id setarray .map_event$, "prontera", "geffen"; // yours woe map .size_mob = getarraysize( .mob_ID ); .size_map = getarraysize( .map_event$ ); end; OnMinute00: OnMinute30: .@r = rand( .size_mob ); .@m = rand( .size_map ); monster .map_event$[.@m],0,0,"--ja--", .mob_ID[.@r],1,""; announce "a "+ strmobinfo( 1,.mob_ID[.@r] ) +" is spawn in "+ .map_event$[.@m] +" !",0; end; } 2 1 Quote Link to comment Share on other sites More sharing options...
0 Kuneho Posted January 26, 2018 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 59 Reputation: 2 Joined: 08/01/12 Last Seen: April 19, 2022 Share Posted January 26, 2018 On 3/24/2013 at 2:00 PM, croxinuz said: thank you sir.. i will try this is this work? i try this but no treasure apear on map only announced !! wwhy i put many treasure chest id mobs but no treasure apeared!! on town!! Quote Link to comment Share on other sites More sharing options...
0 skymia Posted March 12, 2018 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 02/19/17 Last Seen: May 26, 2024 Share Posted March 12, 2018 - script spawn_woe -1,{ OnInit: setarray .mob_ID, 1001, 1002, 1003, 1005; // add more mob id setarray .map_event$, "prontera", "geffen"; // yours woe map .size_mob = getarraysize( .mob_ID ); .size_map = getarraysize( .map_event$ ); end; OnMinute00: OnMinute30: .@r = rand( .size_mob ); .@m = rand( .size_map ); monster .map_event$[.@m],0,0,"--ja--", .mob_ID[.@r],1,""; announce "a "+ strmobinfo( 1,.mob_ID[.@r] ) +" is spawn in "+ .map_event$[.@m] +" !",0; end; } 1. How to put a NPC to warp into the spawning site of the Boss and it will dissappear if the event and the boss already summoned into that map? setarray .map_event$, "Custom Map"; // yours woe map 2. How to announce the killer of the boss? how to set onBossKill function Quote Link to comment Share on other sites More sharing options...
croxinuz Posted March 24, 2013 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 62 Reputation: 0 Joined: 03/18/12 Last Seen: April 19 Author Share Posted March 24, 2013 Like that ? - script spawn_woe -1,{ OnInit: setarray .mob_ID, 1001, 1002, 1003, 1005; // add more mob id setarray .map_event$, "prontera", "geffen"; // yours woe map .size_mob = getarraysize( .mob_ID ); .size_map = getarraysize( .map_event$ ); end; OnMinute00: OnMinute30: .@r = rand( .size_mob ); .@m = rand( .size_map ); monster .map_event$[.@m],0,0,"--ja--", .mob_ID[.@r],1,""; announce "a "+ strmobinfo( 1,.mob_ID[.@r] ) +" is spawn in "+ .map_event$[.@m] +" !",0; end; } thank you sir.. i will try this Quote Link to comment Share on other sites More sharing options...
Question
croxinuz
may someone help me for auto event npc spawn Random monster on Random map ?
exampel like :
i want spawn mob with number 1001,1002,1003,1005 random on a random map prontera,morocc,izlude every 30minute.
sorry for my bad english
Link to comment
Share on other sites
4 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.