01-12-2015, 02:49 AM
im looking for a way to make a SPAWN check the REGION for the TOWNSTONE to see what the OWNERS of the townstone's GUILD is
any ideas how to do that?
any ideas how to do that?
[TYPEDEF t_spawn_townstone]
ON=@Timer
if (<the linked townstone.link.guild>==x)
more=bla
else
more=ble
endif[TYPEDEF t_spawn_townstone_brit]
ON=@Timer
if (<040001fb2.link.guild>==040004000)//townstoneid - guildstoneid wei
more=c_wei_infantry_light_f
else
if (<040001fb2.link.guild>==040004001)//townstoneid - guildstoneid wu
more=c_wu_infantry_light_f
endif[TYPEDEF t_spawn_luoyang]
ON=@Timer
IF (<UID.040004100.LINK>==01ffd)//caocao
more=c_wei_infantry_light_f
more=c_wei_infantry_light_c
ELIF (<UID.040004100.LINK>==01fda)//sunquan
more=c_wu_infantry_light_f
more=c_wu_infantry_light_c
ELIF (<UID.040004100.LINK>==01fd1)//liubei
more=c_shu_infantry_light_f
more=c_shu_infantry_light_c
ELIF (<UID.040004100.LINK>==01fd5)//yuanshao
more=c_ys_infantry_light_f
more=c_ys_infantry_light_c
ELIF (<UID.040004100.LINK>==01fc5)//lubu
more=c_lb_infantry_light_f
more=c_lb_infantry_light_c
ELIF (<UID.040004100.LINK>==01ff7)//zhangjiao
more=c_yt_infantry_light_f
more=c_yt_infantry_light_c
ELIF (<UID.040004100.LINK>==01fdc)//menghuo
more=c_mh_infantry_light_f
more=c_mh_infantry_light_c
ENDIF
[TYPEDEF t_spawn_changan]
ON=@Timer
IF (<UID.040004101.LINK>==01ffd)//caocao
more=c_wei_infantry_light_f
more=c_wei_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01fda)//sunquan
more=c_wu_infantry_light_f
more=c_wu_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01fd1)//liubei
more=c_shu_infantry_light_f
more=c_shu_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01fd5)//yuanshao
more=c_ys_infantry_light_f
more=c_ys_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01fc5)//lubu
more=c_lb_infantry_light_f
more=c_lb_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01ff7)//zhangjiao
more=c_yt_infantry_light_f
more=c_yt_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01fdc)//menghuo
more=c_mh_infantry_light_f
more=c_mh_infantry_light_c[TYPEDEF t_spawn_changan]
ON=@Timer
IF (<UID.040004101.LINK>==01ffd)//caocao
more=c_wei_infantry_light_f
more=c_wei_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01fda)//sunquan
more=c_wu_infantry_light_f
more=c_wu_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01fd1)//liubei
more=c_shu_infantry_light_f
more=c_shu_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01fd5)//yuanshao
more=c_ys_infantry_light_f
more=c_ys_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01fc5)//lubu
more=c_lb_infantry_light_f
more=c_lb_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01ff7)//zhangjiao
more=c_yt_infantry_light_f
more=c_yt_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01fdc)//menghuo
more=c_mh_infantry_light_f
more=c_mh_infantry_light_c[TYPEDEF t_spawn_changan]
ON=@Timer
IF (<UID.040004101.LINK>==01ffd)//caocao
more=c_wei_infantry_light_f
more=c_wei_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01fda)//sunquan
more=c_wu_infantry_light_f
more=c_wu_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01fd1)//liubei
more=c_shu_infantry_light_f
more=c_shu_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01fd5)//yuanshao
more=c_ys_infantry_light_f
more=c_ys_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01fc5)//lubu
more=c_lb_infantry_light_f
more=c_lb_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01ff7)//zhangjiao
more=c_yt_infantry_light_f
more=c_yt_infantry_light_c
ELSE
IF (<UID.040004101.LINK>==01fdc)//menghuo
more=c_mh_infantry_light_f
more=c_mh_infantry_light_c