diff options
author | Emistry <Equinox1991@gmail.com> | 2015-08-31 14:29:41 +0800 |
---|---|---|
committer | Emistry <Equinox1991@gmail.com> | 2015-08-31 14:29:41 +0800 |
commit | 4b1fad173be8b519fc27676d26c96b0f106cee11 (patch) | |
tree | d6aedc964f74ee27ba7a1b57dd2f3ac906022b5b /doc | |
parent | d6498f81cc40784337ae93957245176318a32cfe (diff) | |
download | hercules-4b1fad173be8b519fc27676d26c96b0f106cee11.tar.gz hercules-4b1fad173be8b519fc27676d26c96b0f106cee11.tar.bz2 hercules-4b1fad173be8b519fc27676d26c96b0f106cee11.tar.xz hercules-4b1fad173be8b519fc27676d26c96b0f106cee11.zip |
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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 3 |
1 files changed, 2 insertions, 1 deletions
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 "<message>"; +*npctalk "<message>"{,"<npc name>"}; 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"; --------------------------------------- |