diff options
author | Reid <reidyaro@gmail.com> | 2016-11-06 01:32:17 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2016-11-06 01:32:17 +0100 |
commit | 0c572ccc5cc73816182bd251ada1e9013e261d89 (patch) | |
tree | 9f0b016a8e3c75950a7f6f190b5f59b3c9b23702 | |
parent | 9a175ab1a2bfbdde5be0c10866d97ec34ea74f88 (diff) | |
download | serverdata-0c572ccc5cc73816182bd251ada1e9013e261d89.tar.gz serverdata-0c572ccc5cc73816182bd251ada1e9013e261d89.tar.bz2 serverdata-0c572ccc5cc73816182bd251ada1e9013e261d89.tar.xz serverdata-0c572ccc5cc73816182bd251ada1e9013e261d89.zip |
Add debugmes as walking npc argument function.
-rw-r--r-- | npc/functions/npcmovegraph.txt | 5 |
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]); |