diff options
author | Joseph Botosh <rumly111@gmail.com> | 2015-09-07 00:41:34 +0300 |
---|---|---|
committer | Joseph Botosh <rumly111@gmail.com> | 2015-09-07 00:41:34 +0300 |
commit | 4ce20b9ee65c5097f07d4b22f2cd25f1077a183e (patch) | |
tree | 57d850797d711b3a6ef0866f471257ebad060137 | |
parent | 920becebdfa5e81bb7cc86aea753c75d80211ca4 (diff) | |
download | serverdata-4ce20b9ee65c5097f07d4b22f2cd25f1077a183e.tar.gz serverdata-4ce20b9ee65c5097f07d4b22f2cd25f1077a183e.tar.bz2 serverdata-4ce20b9ee65c5097f07d4b22f2cd25f1077a183e.tar.xz serverdata-4ce20b9ee65c5097f07d4b22f2cd25f1077a183e.zip |
add command 'say' to execmovecmd 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 0a0e29c7b..6a7d344e1 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]; |