croxinuz Posted March 24, 2013 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
1 Capuche Posted March 24, 2013 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
0 Kuneho Posted January 26, 2018 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
0 skymia Posted March 12, 2018 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
croxinuz Posted March 24, 2013 Author 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
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
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.