summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorGepard <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-06-18 01:32:01 +0000
committerGepard <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-06-18 01:32:01 +0000
commit26a9fb42e104800fd0e8ff4cf6a830ab3ce48ac5 (patch)
tree54d34670063fc3a2eb8864ecd8cd622a72d2bdee /doc/script_commands.txt
parent2d20b3feef8a0985b84108736d53f6ebc512d5dd (diff)
downloadhercules-26a9fb42e104800fd0e8ff4cf6a830ab3ce48ac5.tar.gz
hercules-26a9fb42e104800fd0e8ff4cf6a830ab3ce48ac5.tar.bz2
hercules-26a9fb42e104800fd0e8ff4cf6a830ab3ce48ac5.tar.xz
hercules-26a9fb42e104800fd0e8ff4cf6a830ab3ce48ac5.zip
Added support for NPC/PC names in 'emotion' script command. (topic:249193)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14345 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index d8d9f51e7..7b8330e2d 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -5992,7 +5992,7 @@ A full list of pet IDs can be found inside 'db/pet_db.txt'
---------------------------------------
-*emotion <emotion number>{, target};
+*emotion <emotion number>{,<target>}{,"<target name>"};
This command makes an object display an emoticon sprite above their own as
if they were doing that emotion. For a full list of emotion numbers,
@@ -6003,6 +6003,9 @@ The optional target parameter specifies who will get the emotion on top of
their head. If 0 (the default if omitted), the NPC in current use will show
the emotion, if 1, the player that is running the script will display it.
+Target name parameter allows to display emotion on top of other NPC/PC without
+event labels. If specified name is not found, command does nothing.
+
---------------------------------------
*misceffect <effect number>;