PewN Posted June 28, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Share Posted June 28, 2012 (edited) yess: set #jongol,1; set #close,1; warpparty "phan_dun",19,21,getcharid(1); if ( #close == 1 ) goto L_selecta; donpcevent "mons3::OnWelcomes"; end; } mes "Only party with at least 1 members are allowed to enter."; close; L_selecta: close; } - script mons3 -1,{ OnWelcomes: monster "phan_dun",0,0,"Hell Randgris",2621,5,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,"Hell Apocalypse",2622,5,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,"Hell Bomb Poring",2623,10,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,"Hell Heavy Metaling",2624,5,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,"Hell Gloom",2625,5,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,"Hell Fallen Bishop",2626,5,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,"Hell Atroce",2627,5,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,"Hell Berzebub",2628,5,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,"Hell Baphomet",2629,5,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,"Hell Gloom",2630,5,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,Barbossa,2392,5,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,"Black Lost Dragon",2395,5,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,Daehyon,2407,5,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,"Magical Misc",2424,5,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,"Gold Boitata",2431,5,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,"Gold Lost Dragon",2432,5,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,Krakken,2447,5,strnpcinfo(3)+"::OnMobDead"; monster "phan_dun",0,0,"Queen Scaraba",2442,5,strnpcinfo(3)+"::OnMobDead"; disablenpc "bosswarp"; end; OnMobDead: if (mobcount("phan_dun", "mons3::OnWelcomes") > 0) goto L_announce; announce "The portal has now been opened!",bc_map|bc_blue; enablenpc "bosswarp"; donpcevent "mons3::L_Boss"; end; L_Boss: monster "phan_dun01",0,0,"Hell Sieger",2620,1,strnpcinfo(3)+"::OnBossDead"; end; OnBossDead: if (mobcount("phan_dun01", "mons3::OnWelcomes") > 0){ announce "You are successfully defeat the Boss Monster",bc_map|bc_blue; end; L_announce: announce "" + mobcount("phan_dun", "mons3::OnMob") + " Remaining monster, you need to kill all monster",bc_map|bc_blue; end; } } phan_dun,64,99,0 warp bosswarp 2,2,phan_dun01,65,61 what's wrong with this script. monster are not spawning please help no error on mapserver Edited June 28, 2012 by bVersatile Quote Link to comment Share on other sites More sharing options...
clydelion Posted June 28, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Share Posted June 28, 2012 interchange these two lines if ( #close == 1 ) goto L_selecta; donpcevent "mons3::OnWelcomes"; Quote Link to comment Share on other sites More sharing options...
PewN Posted June 28, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Author Share Posted June 28, 2012 oh THX its working now. Quote Link to comment Share on other sites More sharing options...
Question
PewN
what's wrong with this script. monster are not spawning
please help
no error on mapserver
Edited by bVersatileLink to comment
Share on other sites
2 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.