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
|
// The ferry dock
031-1,110,108,0|script|Nivalis Koga|395,12,2
{
callfunc "BoardFerry";
end;
OnTouch:
addtimer get(.warp_delay, "#FerryConfig"), strnpcinfo(0)+"::OnBoard";
end;
OnBoard:
callfunc "BoardFerry";
end;
}
031-1,99,109,0|script|Nivalis Dock|400,2,1
{
set @npc_distance, 3;
callfunc "PCtoNPCRange";
if(@npc_check) end;
callfunc "BoardFerry";
end;
}
031-1,100,100,0|script|#NivalisDock|32767
{
end;
OnCommandArrive:
disablenpc "Nivalis Dock";
enablenpc "Nivalis Koga";
areatimer 0, "031-1", 97, 108, 108, 110, get(.warp_delay, "#FerryConfig"), strnpcinfo(0)+"::OnAreaWarp"; // warp players on dock
end;
OnAreaWarp:
callfunc "BoardFerry";
end;
OnCommandWarp:
disablenpc "Nivalis Koga";
enablenpc "Nivalis Dock";
end;
}
|