1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
// The ferry dock
// Author: Wushin
001-1,75,70,0|script|Tulimshar Koga|395,9,4
{
set @npc_distance, 10;
callfunc "PCtoNPCRange";
if(@npc_check) end;
callfunc "BoardFerry";
end;
OnTouch:
addtimer get(.warp_delay, "#FerryConfig"), strnpcinfo(0)+"::OnBoard";
end;
OnBoard:
callfunc "BoardFerry";
end;
}
001-1,68,72,0|script|Tulimshar Dock|400,2,2
{
set @npc_distance, 3;
callfunc "PCtoNPCRange";
if(@npc_check) end;
callfunc "BoardFerry";
end;
}
001-1,70,70,0|script|#TulimsharDock|32767
{
end;
OnCommandArrive:
disablenpc "Tulimshar Dock";
enablenpc "Tulimshar Koga";
areatimer 0, "001-1", 66, 71, 77, 73, get(.warp_delay, "#FerryConfig"), strnpcinfo(0)+"::OnAreaWarp"; // warp players on dock
end;
OnAreaWarp:
callfunc "BoardFerry";
end;
OnCommandWarp:
disablenpc "Tulimshar Koga";
enablenpc "Tulimshar Dock";
end;
}
|