- script ANY_MAP_SPAWNER -1,{OnInit:.mobId =1002;
setarray .maps$,"prontera","izlude";
donpcevent "ANY_MAP_SPAWNER::OnAddMob";end;OnAddMob:
monster .maps$[rand(0,getarraysize(.maps$)-1)],0,0,"--ja--",.mobId,1,"ANY_MAP_SPAWNER::OnMyMobDead";
announce "A new mob has spawned!",0;end;OnMyMobDead:
initnpctimer;
announce "The mob has been killed by "+strcharinfo(0)+", wait a hour for the respawn.",0;end;OnTimer3600000:
stopnpctimer;
donpcevent "ANY_MAP_SPAWNER::OnAddMob";end;}
How can i make this to summon .mobID on all maps in .maps$ , not randomly.. but it will summon on every map all at once
Question
celeron0134
How can i make this to summon .mobID on all maps in .maps$ , not randomly.. but it will summon on every map all at once
Link to comment
Share on other sites
3 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.