summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-22 16:06:39 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-22 16:06:39 +0000
commite2ddbced3c35ca2d1c704c2b724234cc09a37418 (patch)
tree5c372ac886a2f4617939f36123e9a9f75176b5f7 /doc
parentbd953cebb864185e3f7f8ff5591ad02270bd19f0 (diff)
downloadhercules-e2ddbced3c35ca2d1c704c2b724234cc09a37418.tar.gz
hercules-e2ddbced3c35ca2d1c704c2b724234cc09a37418.tar.bz2
hercules-e2ddbced3c35ca2d1c704c2b724234cc09a37418.tar.xz
hercules-e2ddbced3c35ca2d1c704c2b724234cc09a37418.zip
* Renamed fakenpcname to setnpcdisplay, fixed and extended it.
- See doc/script_commands.txt for information on how to use it git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11779 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt15
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 41c455a7d..35b1958f5 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -9,7 +9,7 @@
//= Maeki Rika - A section on general concepts and lots of
//= other updates and additions.
//===== Version ===========================================
-//= 3.09.20071103
+//= 3.10.20071122
//=========================================================
//= 1.0 - First release, filled will as much info as I could
//= remember or figure out, most likely there are errors,
@@ -90,6 +90,8 @@
//= Clarified how npc names work. [FlavioJS]
//= 3.09.20071103
//= Added script function 'strnpcinfo' [ultramage]
+//= 3.10.20071122
+//= Added setnpcdisplay. [FlavioJS]
//===== Description =======================================
//= A reference manual for the eAthena scripting language,
//= sorted out depending on their functionality.
@@ -4879,6 +4881,17 @@ complete the effect.
npctalk "Hello "+strcharinfo(0)+" how are you";
---------------------------------------
+
+*setnpcdisplay("<npc name>", "<display name>", <class id>)
+*setnpcdisplay("<npc name>", "<display name>")
+*setnpcdisplay("<npc name>", <class id>)
+
+Changes the display name and/or display class of the target npc.
+Returns 0 is successful, 1 if the npc does not exist.
+
+Since trunk r11779
+
+---------------------------------------
\\
5,1.- Time-related commands
\\