nelax Posted January 17, 2014 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 41 Reputation: 0 Joined: 08/16/13 Last Seen: Friday at 10:39 PM Share 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 Link to comment Share on other sites More sharing options...
Skorm Posted January 17, 2014 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share 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 Link to comment Share on other sites More sharing options...
nelax Posted January 17, 2014 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 41 Reputation: 0 Joined: 08/16/13 Last Seen: Friday at 10:39 PM Author Share 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 Link to comment Share on other sites More sharing options...
Skorm Posted January 17, 2014 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share 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 Link to comment Share on other sites More sharing options...
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
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.