From 4ce20b9ee65c5097f07d4b22f2cd25f1077a183e Mon Sep 17 00:00:00 2001 From: Joseph Botosh Date: Mon, 7 Sep 2015 00:41:34 +0300 Subject: add command 'say' to execmovecmd function --- npc/functions/npcmovegraph.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'npc') diff --git a/npc/functions/npcmovegraph.txt b/npc/functions/npcmovegraph.txt index 0a0e29c7..6a7d344e 100644 --- a/npc/functions/npcmovegraph.txt +++ b/npc/functions/npcmovegraph.txt @@ -123,6 +123,11 @@ function script execmovecmd { { npcspeed atoi(.@cmd$[1]); } + else if (.@cmd$[0] == "say") + { + deletearray .@cmd$[0], 1; + npctalk implode(.@cmd$, " "); + } else { debugmes "Unknown move graph cmd: " + .@cmd$[0]; -- cgit v1.2.3-60-g2f50