summaryrefslogtreecommitdiff
path: root/npc/test/npc4.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/test/npc4.txt')
-rw-r--r--npc/test/npc4.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/npc/test/npc4.txt b/npc/test/npc4.txt
new file mode 100644
index 00000000..78103667
--- /dev/null
+++ b/npc/test/npc4.txt
@@ -0,0 +1,26 @@
+// Evol scripts.
+// Authors:
+// 4144
+// Description:
+// test npc4
+
+test,25,20,0 script npc4 801,{
+ close;
+OnTimer1000:
+ if (isunitwalking())
+ {
+ initnpctimer;
+ end;
+ }
+ movetonextpos;
+ initnpctimer;
+ end;
+OnInit:
+ initpath "move", 20, 20,
+ "dir", 6, 0,
+ "move", 25, 20,
+ "wait", 3, 0,
+ "move", 22, 10;
+ initialmove;
+ initnpctimer;
+}