Hello
Nice scripts iFoxkun
Edited: 2011-12-18 16:36 (reson I was to hasty)
I have taken the liberty To edit 1 of you scripts, to impuve it alittle
(at least i think i improved it)
Long story short here it is
Here it is
http://pastebin.com/2rL8xJAi
i added config options:
setarray $@towns$[0],"prontera","prt_in","prt_in";
setarray $@cordsx[0],115,195,32,44,127,131;
setarray $@cordsy[0],164,244,96,115,69,74;
setarray $@displayname$[0],"Center Prontera","Prontera Starting House","Prontera Tool Shop";
setarray $@items[0],675,503,504,505;
setarray $@equipment[0],2631,1143,1159;
setarray $@noum$[0],"One","Two","Three","Four","Five","Six","Seven";
1st line: is to config the town u want the items to spawn
2nd line: is the min and max cordinates for the X
3rd same as 2nd just that is for the Y
note: there are 2 sets for each town. ex prontera got 115-195, 164-244;
4th line: anouncment name , for ppl to understand.
5th: are the spawned items
6th: are the spawned EQUIPMENT (def it is set to summon only 1 equipment)
note: if u want to spawn more equipment.
set .item, $@equipment[rand(getarraysize($@equipment))];
makeitem .item,1,$@town$,$@randomx,$@randomy;
set $@spawned, 1; << change this to 0
set $@eq, 0;
7th: The number of spawned items , this only defines the max number
this is the item spawn loop How meny items are spawned
//set $@spawn_loop, rand(getarraysize($@noum$));
set $@spawn_loop,7;
and
this is the item qty for normal NONE EQUIPMENT items
}else{
set $@spawn_qty,rand(10,100);//So that every spawnd item differs!
set .item, $@items[rand(getarraysize($@items))];
ps: sry about my grammar i know it is bad