Jump to content

Question

Posted
-	script	PoringEvent	-1,{

OnClock0030:
OnClock0230:
OnClock0430:
OnClock0630:
OnClock0830:
OnClock1030:
OnClock1230:
OnClock1430:
OnClock1630:
OnClock1830:
OnClock2030:
OnClock2330:
	monster .maps$[(rand(getarraysize(.maps$)))],0,0,"Poring",1002,5,strnpcinfo(3)+"::OnPoringDead";
	announce "Five special Porings have spawned in random town maps!",0;
	end;

OnPoringDead:
	announce strcharinfo(0)+" has killed the Poring!",0;
	getitem 6153,30;
	end;

OnInit:
	setarray .maps$[0],"prontera","morocc","payon";
	end;
}

I want that a random number of Porings be summoned in different random maps, not just in one map. Not all porings shall be summoned in just one random map, but they must be spread in all random maps. I tried this script and players told me they all just spawned in Prontera. Pls help.

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...