|
Rowall :Çalışıyor mu bilmiyorum. Denedikten sonra dönüş yap çalışmazsa farklı bir yoldan yaparız yere item koymamıza gerek yok.[/sphere]Yukarıdaki kodu herhangi biryere ekleyip Sphere.ini'ye de [Sphere] altına PACKET2=f_move ekleyerek @move triggerını aktif edebilirsin[function f_move]
obj=<local.char>
obj.trigger @move
[dialog d_GateTravel2]
serv.newitem = mem_RunGate,1,<src>
new.tag._RuneGate = <uid>
new.timer = 0Itemın yapacağı sorgular[itemdef Mem_RunGate]
id = i_memory
type = t_eq_Script
name = Mem RunGate
on=@timer
ref1 = <tag._RuneGate>
if !(<ref1>)
trysrc <cont> dialogclose d_GateTravel2
remove
elif (<distance <ref1>> > 2)
trysrc <cont> dialogclose d_GateTravel2
remove
endif
timer = 1
return 1
[function f_move]
ref1 <local.char>
ref1.trigger @move
[itemdef i_gate_test]
id 0f6c
type t_normal
on=@step
sdialog d_test_gate
src.ctag.testgate <uid>
src.events +e_testgate
[events e_testgate]
on=@move
if ((<distance <ctag0.testgate>> > 3) || (!<uid.<ctag0.testgate>>))
events -e_testgate
trysrc <uid> dialogclose d_test_gate
ctag.testgate
endif
on=@logout
events -e_testgate
[dialog d_test_gate]
0,0
resizepic 50 50 3000 100 100Gate kapanınca açık olan herkestekini sildirmek için de gate'in @destroy'unda online karakterleri döndürüp dialogclose yapabilirsin.[/sphere]
|
|
| Konu | Kategori | Son cevap | Son yazan | Mesaj | Görüntüleme | |
|---|---|---|---|---|---|---|
|
|
Sayfalı ve Kopyalamalı Runebook
Son cevap: 21-11 10:33 · Son yazan: TheRaskol · Mesaj: 6 · Görüntü: 2759
|
Script Yardımı | 21-11 10:33 | 6 | 2759 | |
|
|
Dialog Yüzdesel İlerleme - Bar Yapma
Son cevap: 12-10 16:33 · Son yazan: zeezvu · Mesaj: 7 · Görüntü: 3343
|
DIALOG Script Yardımı | 12-10 16:33 | 7 | 3343 | |
|
|
Dialog arka plan
Son cevap: 21-04 11:36 · Son yazan: The And · Mesaj: 12 · Görüntü: 4253
|
DIALOG Script Yardımı | 21-04 11:36 | 12 | 4253 | |
|
|
Dialog Game Window
Son cevap: 23-04 03:41 · Son yazan: Jada · Mesaj: 4 · Görüntü: 2407
|
DIALOG Script Yardımı | 23-04 03:41 | 4 | 2407 | |
|
|
Silah rengi ve dialog
Son cevap: 29-12 19:13 · Son yazan: helpme · Mesaj: 9 · Görüntü: 4043
|
ITEM Script Yardımı | 29-12 19:13 | 9 | 4043 |