summaryrefslogtreecommitdiff
path: root/npc/000-2-4/alige.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/000-2-4/alige.txt')
-rw-r--r--npc/000-2-4/alige.txt38
1 files changed, 38 insertions, 0 deletions
diff --git a/npc/000-2-4/alige.txt b/npc/000-2-4/alige.txt
new file mode 100644
index 00000000..500a57a4
--- /dev/null
+++ b/npc/000-2-4/alige.txt
@@ -0,0 +1,38 @@
+// Evol scripts.
+// Authors:
+// Reid
+// Travolta
+
+000-2-4,38,22,0 script Alige#000-2-4 NPC_ALIGE_BARREL,2,2,{
+ npctalk3 l("Protect me, please...");
+ end;
+
+OnTouch:
+ .dir = LEFT;
+ stopnpctimer;
+ initnpctimer;
+ end;
+
+OnUnTouch:
+ .dir = UP;
+ stopnpctimer;
+ initnpctimer;
+ end;
+
+OnTimer190:
+ switch (.dir)
+ {
+ case UP:
+ .dir = DOWN;
+ break;
+ case LEFT:
+ .dir = RIGHT;
+ break;
+ }
+ stopnpctimer;
+ end;
+
+OnInit:
+ .distance = 2;
+ end;
+}