From 73ccd23e1ff25cb1194cde9fa5789e6a8f9ed547 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Oct 2015 19:14:55 +0300 Subject: Move timer logic for simple npcs to function. --- npc/001-1/xilaxa.txt | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'npc/001-1/xilaxa.txt') diff --git a/npc/001-1/xilaxa.txt b/npc/001-1/xilaxa.txt index 62b0a8f4..b1a90da5 100644 --- a/npc/001-1/xilaxa.txt +++ b/npc/001-1/xilaxa.txt @@ -9,14 +9,7 @@ close; OnTimer1000: - if (isunitwalking()) - { - initnpctimer; - end; - } - movetonextpos; - initnpctimer; - end; + domovestep; OnInit: initpath "move", 52, 54, -- cgit v1.2.3-60-g2f50