From 5fe176192c31b3ef28d1d2c1a0c984bd6792942b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 Oct 2015 00:31:32 +0300 Subject: Add to npc1 function for set remove wall. --- npc/test/npc1.txt | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/npc/test/npc1.txt b/npc/test/npc1.txt index 29080627c..32975c503 100644 --- a/npc/test/npc1.txt +++ b/npc/test/npc1.txt @@ -27,7 +27,7 @@ test,10,10,0 script npc1 NPC_TEST1,3,3,{ } L_Start: - switch (select("show area:map:pc:change npc direction:quest test:cart:items:chat")) + switch (select("show area:map:pc:change npc direction:quest test:cart:items:chat:wall")) { case 1: areatest; @@ -215,6 +215,23 @@ L_Start: case 8: chatjoin .chat; close; + case 9: + while(1) + { + switch (select("set wall1:delete wall1:back")) + { + case 1: + setcells "test", 14, 11, 17, 11, 3, "wall1"; + break; + case 2: + delcells "wall1"; + break; + case 3: + goto L_Start; + break; + } + } + break; } close; -- cgit v1.2.3-60-g2f50