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
48
49
50
51
52
53
54
55
56
57
58
|
// Evol scripts.
// Authors:
// 4144, Reid
// Description:
// Doors warp and animations in map 001-1
//
001-1.gat,54,71,0 script #Door1 906,1,1{
close;
OnTouchFirst:
setnpcdir 2;
stopnpctimer;
initnpctimer;
close;
OnUnTouchAll:
setnpcdir 4;
initnpctimer;
startnpctimer;
close;
OnTouchCenter:
warp "001-2-0", 37, 45;
close;
OnTimer340:
stopnpctimer;
if (getnpcdir ("") == 2) setnpcdir 6;
if (getnpcdir ("") == 4) setnpcdir 8;
end;
}
001-1.gat,50,65,0 script #Door2 906,1,1{
close;
OnTouchFirst:
setnpcdir 2;
stopnpctimer;
initnpctimer;
close;
OnUnTouchAll:
setnpcdir 4;
initnpctimer;
startnpctimer;
close;
OnTouchCenter:
warp "001-2-0", 30, 34;
close;
OnTimer340:
stopnpctimer;
if (getnpcdir ("") == 2) setnpcdir 6;
if (getnpcdir ("") == 4) setnpcdir 8;
end;
}
|