nelax Posted January 17, 2014 Posted January 17, 2014 Hello! I would ask your help to create an automatic event of 6 in 6 hours 1 thanatos is invoked in random map Quote
Skorm Posted January 17, 2014 Posted January 17, 2014 6 in 6 hours Not sure what you mean anyways this will spawn Thanatos the 6th hour of every day. - script Thanatos_Event -1,{ OnHour06: killmonster .maps$[.rand],"Thanatos_Event::OnMobDead"; set .rand, rand(getarraysize(.maps$)); announce "Thanatos has appeared in "+setchar(.maps$[.rand], strtoupper(charat(.maps$[.rand],0)), 0)+"!",bc_all,0x0000FF; monster .maps$[.rand],0,0,"Thanatos",1708,1,"Thanatos_Event::OnMobDead"; end; OnMobDead: announce strcharinfo(0)+" has killed Thanatos!",bc_all,0xFF0000; end; OnInit: setarray .maps$, "prontera", "payon", "geffen", "morocc", "alberta", "izlude", "aldebaran", "comodo", "yuno", "amatsu", "gonryun", "umbala", "louyang"; } Quote
nelax Posted January 17, 2014 Author Posted January 17, 2014 6 in 6 hours Not sure what you mean anyways this will spawn Thanatos the 6th hour of every day. - script Thanatos_Event -1,{ OnHour06: killmonster .maps$[.rand],"Thanatos_Event::OnMobDead"; set .rand, rand(getarraysize(.maps$)); announce "Thanatos has appeared in "+setchar(.maps$[.rand], strtoupper(charat(.maps$[.rand],0)), 0)+"!",bc_all,0x5AFD4D; monster .maps$[.rand],0,0,"Thanatos",1708,1,"Thanatos_Event::OnMobDead"; end; OnMobDead: end; OnInit: setarray .maps$, "prontera", "payon", "geffen", "morocc", "alberta", "izlude", "aldebaran", "comodo", "yuno", "amatsu", "gonryun", "umbala", "louyang"; } Nice and announce when someone kill thanatos @Edit else the mvp is not being invoked on the map Quote
Skorm Posted January 17, 2014 Posted January 17, 2014 Nice and announce when someone kill thanatos @Edit else the mvp is not being invoked on the map Ok updated previous post. Quote
Question
nelax
Hello! I would ask your help to create an automatic event of 6 in 6 hours 1 thanatos is invoked in random map
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.