01-24-2015, 11:19 AM
couldnt you make a custom spawn gem for each town? save one step
so far
spawn any soldier, with any min max & distance
then target with
.xevents +t_spawn_luoyang
so far
Code:
[TYPEDEF t_spawn_luoyang]
ON=@Timer
IF (<UID.040004100.LINK>==01ffd)//caocao
more={c_wei_infantry_light_f 1 c_wei_infantry_light_c 1}
ELSE
IF (<UID.040004100.LINK>==01fda)//sunquan
more={c_wu_infantry_light_f 1 c_wu_infantry_light_c 1}
ELSE
IF (<UID.040004100.LINK>==01fd1)//liubei
more={c_shu_infantry_light_f 1 c_shu_infantry_light_c 1}
ELSE
IF (<UID.040004100.LINK>==01fd5)//yuanshao
more={c_ys_infantry_light_f 1 c_ys_infantry_light_c 1}
ELSE
IF (<UID.040004100.LINK>==01fc5)//lubu
more={c_lb_infantry_light_f 1 c_lb_infantry_light_c 1}
ELSE
IF (<UID.040004100.LINK>==01ff7)//zhangjiao
more={c_yt_infantry_light_f 1 c_yt_infantry_light_c 1}
ELSE
IF (<UID.040004100.LINK>==01fdc)//menghuo
more={c_mh_infantry_light_f 1 c_mh_infantry_light_c 1}
ENDIF
[TYPEDEF t_spawn_changan]
ON=@Timer
IF (<UID.040004101.LINK>==01ffd)//caocao
more={c_wei_infantry_light_f 1 c_wei_infantry_light_c 1}
ELSE
IF (<UID.040004101.LINK>==01fda)//sunquan
more={c_wu_infantry_light_f 1 c_wu_infantry_light_c 1}
ELSE
IF (<UID.040004101.LINK>==01fd1)//liubei
more={c_shu_infantry_light_f 1 c_shu_infantry_light_c 1}
ELSE
IF (<UID.040004101.LINK>==01fd5)//yuanshao
more={c_ys_infantry_light_f 1 c_ys_infantry_light_c 1}
ELSE
IF (<UID.040004101.LINK>==01fc5)//lubu
more={c_lb_infantry_light_f 1 c_lb_infantry_light_c 1}
ELSE
IF (<UID.040004101.LINK>==01ff7)//zhangjiao
more={c_yt_infantry_light_f 1 c_yt_infantry_light_c 1}
ELSE
IF (<UID.040004101.LINK>==01fdc)//menghuo
more={c_mh_infantry_light_f 1 c_mh_infantry_light_c 1}
ENDIFspawn any soldier, with any min max & distance
then target with
.xevents +t_spawn_luoyang