From 4b1fad173be8b519fc27676d26c96b0f106cee11 Mon Sep 17 00:00:00 2001 From: Emistry Date: Mon, 31 Aug 2015 14:29:41 +0800 Subject: npctalk support extra npc name parameter. The command will display the message on the NPC that name specified in the parameter. Useful in quest script that required a lot of different NPC to talk at the same time. Especially instances script. --- doc/script_commands.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/script_commands.txt') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index f2022e347..9d3673490 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -6304,7 +6304,7 @@ A debug message also shows on the console when no events are triggered. --------------------------------------- -*npctalk ""; +*npctalk ""{,""}; This command will display a message to the surrounding area as if the NPC object running it was a player talking - that is, above their head and in @@ -6314,6 +6314,7 @@ the message to complete the effect. // This will make everyone in the area see the NPC greet the character // who just invoked it. npctalk "Hello "+strcharinfo(0)+", how are you?"; + npctalk "Hello "+strcharinfo(0)+", how are you?","Another_NPC_Name"; --------------------------------------- -- cgit v1.2.3-70-g09d2