summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2016-11-06 01:32:17 +0100
committerReid <reidyaro@gmail.com>2016-11-06 01:32:17 +0100
commit0c572ccc5cc73816182bd251ada1e9013e261d89 (patch)
tree9f0b016a8e3c75950a7f6f190b5f59b3c9b23702 /npc/functions
parent9a175ab1a2bfbdde5be0c10866d97ec34ea74f88 (diff)
downloadserverdata-0c572ccc5cc73816182bd251ada1e9013e261d89.tar.gz
serverdata-0c572ccc5cc73816182bd251ada1e9013e261d89.tar.bz2
serverdata-0c572ccc5cc73816182bd251ada1e9013e261d89.tar.xz
serverdata-0c572ccc5cc73816182bd251ada1e9013e261d89.zip
Add debugmes as walking npc argument function.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/npcmovegraph.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/npcmovegraph.txt b/npc/functions/npcmovegraph.txt
index f5ae9240..c33ebbfc 100644
--- a/npc/functions/npcmovegraph.txt
+++ b/npc/functions/npcmovegraph.txt
@@ -173,6 +173,11 @@ function script execmovecmd {
deletearray .@cmd$[0], 1;
npctalk implode(.@cmd$, " ");
}
+ else if (.@cmd$[0] == "debugmes")
+ {
+ deletearray .@cmd$[0], 1;
+ debugmes implode(.@cmd$, " ");
+ }
else if (.@cmd$[0] == "flags")
{
set getvariableofnpc(.mg_flags, strnpcinfo(3)), axtoi(.@cmd$[1]);