summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-06-02 10:18:07 -0400
committermekolat <mekolat@users.noreply.github.com>2015-06-02 10:18:07 -0400
commita66a32b24ea8d7cc983f07543f7fa554543dd579 (patch)
tree59e40988ded6f4c76502cd859f0231f8bf3558be /world/map
parentab76e47e3f090b29aaba2ec4579e2431a4465d12 (diff)
downloadserverdata-a66a32b24ea8d7cc983f07543f7fa554543dd579.tar.gz
serverdata-a66a32b24ea8d7cc983f07543f7fa554543dd579.tar.bz2
serverdata-a66a32b24ea8d7cc983f07543f7fa554543dd579.tar.xz
serverdata-a66a32b24ea8d7cc983f07543f7fa554543dd579.zip
use npc actions and set title in Numa
Diffstat (limited to 'world/map')
-rw-r--r--world/map/npc/017-9/npcs.txt1
-rw-r--r--world/map/npc/functions/superdebug.txt4
2 files changed, 5 insertions, 0 deletions
diff --git a/world/map/npc/017-9/npcs.txt b/world/map/npc/017-9/npcs.txt
index c9f9aedb..b14428c5 100644
--- a/world/map/npc/017-9/npcs.txt
+++ b/world/map/npc/017-9/npcs.txt
@@ -40,6 +40,7 @@
017-9,30,28,0|script|Numa|393
{
+ set @from_npc, 1;
callfunc "SuperDebug";
end;
}
diff --git a/world/map/npc/functions/superdebug.txt b/world/map/npc/functions/superdebug.txt
index b9f067de..5654dd4c 100644
--- a/world/map/npc/functions/superdebug.txt
+++ b/world/map/npc/functions/superdebug.txt
@@ -3,9 +3,13 @@
function|script|SuperDebug
{
+ if(@from_npc) goto L_Main;
+ npcaction 6, 12;
+ title "Numa";
goto L_Main;
L_Main:
+ set @from_npc, 0;
mes "[Numa]";
mes "How may I help you?";
next;