From 0c572ccc5cc73816182bd251ada1e9013e261d89 Mon Sep 17 00:00:00 2001 From: Reid Date: Sun, 6 Nov 2016 01:32:17 +0100 Subject: Add debugmes as walking npc argument function. --- npc/functions/npcmovegraph.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'npc/functions') 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]); -- cgit v1.2.3-70-g09d2