diff options
author | Reid <reidyaro@gmail.com> | 2014-09-09 10:17:48 +0200 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2014-09-09 10:17:48 +0200 |
commit | a554070c775a9cb64e1d5019ab0d91e0c62b8619 (patch) | |
tree | e37920b4c7fd747bb762e0e553bea0115f51f94a /npc | |
parent | e39cd8045d92d2fcc7808a43181723741f348fa8 (diff) | |
download | serverdata-a554070c775a9cb64e1d5019ab0d91e0c62b8619.tar.gz serverdata-a554070c775a9cb64e1d5019ab0d91e0c62b8619.tar.bz2 serverdata-a554070c775a9cb64e1d5019ab0d91e0c62b8619.tar.xz serverdata-a554070c775a9cb64e1d5019ab0d91e0c62b8619.zip |
Add library's door animation/warp on Artis.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/001-1/doors.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/npc/001-1/doors.txt b/npc/001-1/doors.txt index 4d3886e0..05afe3e4 100644 --- a/npc/001-1/doors.txt +++ b/npc/001-1/doors.txt @@ -83,3 +83,30 @@ OnTimer340: end; } + +001-1.gat,51,80,0 script #Door4 906,1,1{ + close; + +OnTouchFirst: + setnpcdir 2; + stopnpctimer; + initnpctimer; + close; + +OnUnTouchAll: + setnpcdir 4; + initnpctimer; + startnpctimer; + close; + +OnTouchCenter: + warp "001-2-4", 48, 40; + close; + +OnTimer340: + stopnpctimer; + if (getnpcdir ("") == 2) setnpcdir 6; + if (getnpcdir ("") == 4) setnpcdir 8; + end; +} + |