Jump to content
  • 0

Random map


Question

3 answers to this question

Recommended Posts

Posted

 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";
}
Posted

 

 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

Posted

Nice and announce when someone kill thanatos

 

@Edit

 

else the mvp is not being invoked on the map

 

 

Ok updated previous post.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...