|
[function tasdiz]
serv.newitem i_duvar
new.attr 010
new.p xxxxxxx //////////buraya koymak istediğin kordinatı girersin.
new.updatex
[function tassil]
foritems 6144
if (<baseid>=i_duvar)
remove
updatex
endif
endfor
[function tasdiz]
serv.newitem i_duvar ////// 1. duvar
new.attr 010
new.p xxxxxxx
new.updatex
serv.newitem i_duvar ////// 2. duvar
new.attr 010
new.p xxxxxxx
new.updatex
[function tasdiz]
serv.newitem 01776
new.attr 010
new.p 1509,1629,10
new.updatex
[function tassil]
foritems 6144
if (<baseid>=01776)
remove
updatex
endif
endfor
[itemdef i_duvar]
id 058
name stone wall
on=@create
color 0794
attr 010
[function tasdiz]
serv.newitem i_duvar ///1. duvar
new.p 1509,1629,10
new.updatex
serv.newitem i_duvar /// 2.duvar
new.p xxxxxxx /kordinatı nereye istiyorsan
new.updatex
[function tassil]
foritems 6144
if (<baseid> == i_duvar) && (<color> == 0794)
remove
updatex
endif
endfor
forinstances i_yeni_duvarim
remove
endforforitems kare kare tarama yaptığı için performansı ciddi düşüren bir komuttur. Forinstances yalnızca ilgili id ile denk düşenleri hızlıca tespit edip gereken işlemleri yapar.[function duvarDose]
local.x <p.x>
local.y <p.y>
local.z <p.z>
for 10
serv.newitem i_yeni_duvarim
new.p <dlocal.x>,<dlocal.y>,<dlocal.z>
local.y += 1
endfor
|
|
| Konu | Kategori | Son cevap | Son yazan | Mesaj | Görüntüleme | |
|---|---|---|---|---|---|---|
|
|
tiledata maximum index hata kodu
Son cevap: 12-11 03:02 · Son yazan: B3LyRsy2 · Mesaj: 9 · Görüntü: 4507
|
Muls ve Mul Editing | 12-11 03:02 | 9 | 4507 | |
|
|
timer ayarlama nasıl yapılır ?
Son cevap: 01-03 23:24 · Son yazan: 4s3d3 · Mesaj: 5 · Görüntü: 4467
|
Script Yardımı | 01-03 23:24 | 5 | 4467 | |
|
|
Vendor restock ayarlama
Son cevap: 29-07 10:38 · Son yazan: Daedhelon · Mesaj: 2 · Görüntü: 3459
|
FUNCTION & EVENTS Script Yardımı | 29-07 10:38 | 2 | 3459 | |
|
|
Yeni yaratılan karakerin üzerindeki itemleri ayarlama
Son cevap: 23-07 00:45 · Son yazan: Silverwolf · Mesaj: 4 · Görüntü: 4955
|
Script Yardımı | 23-07 00:45 | 4 | 4955 | |
|
|
Skillcap ayarlama
Son cevap: 07-05 13:04 · Son yazan: Wasabi-san · Mesaj: 7 · Görüntü: 6095
|
Script Yardımı | 07-05 13:04 | 7 | 6095 |