[function stopstay]
foritems 10
if (<baseid> == i_stopstay)
return 1
endif
endfor
if (<stopstay>)
return 1
endif
Michaell : Dispeler gibi bi item yap. idsi i_stopstay olsun.
[function stopstay] foritems 10 if (<baseid> == i_stopstay) return 1 endif endfor
Bu scripti ekle. sphere_speech.scp den de all stop ile all stayi bul altına;
if (<stopstay>) return 1 endif
ekle.
[itemdef i_stopstay]
defname i_stopstay
name=Stopstay
weight 15
id=i_crystal_green
type=t_script
ON=@create
attr=attr_move_never|attr_invis
color=07a1
[function stopstay]
foritems 10
if (<baseid> == i_stopstay)
return 1
endif
endfor
if (<stopstay>)
src.say asd
return 1
endif
[typedef t_donotstay]
[speech spk_pet]
ON=stay
if (<isneartype t_donotstay 10>)
src.sysmessage Bu bolgede olmaz.
return 1
endif
ON*All Stay*
foritems 10
if (<baseid> == i_stopstay)
src.sysmessage @,,1 Olmaz!
return 1
endif
endfor
[itemdef i_stopstay]
defname i_stopstay
name=Stopstay
weight 15
id=i_crystal_green
type=t_script
ON=@create
attr=attr_move_never|attr_invis
color=07a1
ON*All Stay*
ON=*Stay*
foritems 10
if (<baseid> == i_stopstay)
src.sysmessage @,,1 Olmaz!
return 1
endif
endfor
[Alcholic] : şöle diyim etrafta adamın bineği yoksa bile stay yazamıcak. o yüzden bineğin speechine eklemek daha stabil.