From 20df2abc1aca00d6aa5dc78347133890f36b32f3 Mon Sep 17 00:00:00 2001 From: Saulc Date: Sat, 13 Jan 2018 20:50:42 +0100 Subject: Initial commit --- npc/test/npc5.txt | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 npc/test/npc5.txt (limited to 'npc/test/npc5.txt') diff --git a/npc/test/npc5.txt b/npc/test/npc5.txt new file mode 100644 index 000000000..faa655e8f --- /dev/null +++ b/npc/test/npc5.txt @@ -0,0 +1,34 @@ +// Evol scripts. +// Author: +// Travolta +// Description: +// test npc5 + +function script npc5TestFunc { + npctalk getarg(0); + return 0; +} + +test,45,25,0 script npc5 NPC_PLAYER,{ + close; + +OnTimer1000: + dographmovestep; + +OnInit: + // .debug = 1; + initmovegraph "topleft", 45, 25, + "topright", 55, 25, + "bottomright", 55, 34, + "bottomleft", 45, 34; + + setmovegraphcmd "topleft", "topright", 30, "dir 0; wait 1", + "topleft", "bottomright", 20, "class 104", + "topleft", "bottomleft", 50, "emote 8; wait 1; warp bottomright", + "topright", "bottomleft", 1, "emote 3; wait 5", + "bottomleft", "topleft", 25, "dir 2; wait 1; call npc5TestFunc Hello=)", + "bottomleft", "bottomright", 10, "speed 40", + "bottomright", "bottomleft", 1, "class 801; speed 100; dir 0; emote 1; wait 4"; + firstmove "wait 1; speed 100; dir 4; emote 7"; + initnpctimer; +} -- cgit v1.2.3-60-g2f50