Thread: Territory Size
View Single Post
Old 19.08.2007, 07:07   #5
ateh
Архивный участник
 
Join Date: Apr 2006
Posts: 118
Default

Make few zones and join them in npcmaker(_ex)_begin, like this one:
Code:
territory_begin	[gludio05_1923_07]	{{-13044;178610;-5429;-5249};{-12843;178571;-5429;-5249};{-12856;179208;-5429;-5249};{-13173;179055;-5429;-5249}}	territory_end			
territory_begin	[gludio05_1923_08]	{{-13153;179019;-5428;-5228};{-12848;179163;-5428;-5228};{-12776;179663;-5428;-5228};{-13087;180036;-5428;-5228};{-13425;179957;-5428;-5228};{-13637;179416;-5428;-5228}}	territory_end			
npcmaker_ex_begin	[gludio05_1923_07];[gludio05_1923_08]	name=[gludio05_1923_07m1]	ai=[maker_instant_spawn]	maximum_npc=57		
npc_ex_begin	[ant_recruit]	pos=anywhere	total=1	respawn=60sec	respawn_rand=20sec	npc_ex_end
npc_ex_begin	[ant_patrol]	pos=anywhere	total=1	respawn=60sec	respawn_rand=20sec	npc_ex_end
npc_ex_begin	[ant_guard]	pos=anywhere	total=1	respawn=60sec	respawn_rand=20sec	npc_ex_end
npcmaker_ex_end
And mobs will spawn randomly in sum of this areas.
ateh is offline