diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-03 22:07:47 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-03 22:07:47 +0000 |
commit | 647558b6b91166728157e6d5cfcdb14891295a66 (patch) | |
tree | f5a8c0ab46998b688bcd9cd35272fedd4fe64331 /doc | |
parent | 686a1e31a3a10093ff7898e3df9961ad913a1a1d (diff) | |
download | hercules-647558b6b91166728157e6d5cfcdb14891295a66.tar.gz hercules-647558b6b91166728157e6d5cfcdb14891295a66.tar.bz2 hercules-647558b6b91166728157e6d5cfcdb14891295a66.tar.xz hercules-647558b6b91166728157e6d5cfcdb14891295a66.zip |
Added script function 'strnpcinfo', for increased npc awareness (originally from jAthena).
Updated script reference doc.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11650 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 6d9213b5e..41c455a7d 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.08.20071018 +//= 3.09.20071103 //========================================================= //= 1.0 - First release, filled will as much info as I could //= remember or figure out, most likely there are errors, @@ -88,6 +88,8 @@ //= Fixed 'duplicate' missing the target 'name' parameter! [ultramage] //= 3.08.20071018 //= Clarified how npc names work. [FlavioJS] +//= 3.09.20071103 +//= Added script function 'strnpcinfo' [ultramage] //===== Description ======================================= //= A reference manual for the eAthena scripting language, //= sorted out depending on their functionality. @@ -1822,6 +1824,18 @@ returned when requesting that information. --------------------------------------- +*strnpcinfo(<type>) + +This function will return the various parts of the name of the calling npc. +Whatever it returns is determined by type. + + 0 - The NPC's display name (visible#hidden) + 1 - The visible part of the NPC's display name + 2 - The hidden part of the NPC's display name + 3 - The NPC's unique name (::name) + +--------------------------------------- + *getarraysize(<array name>) This function returns the number of values that are contained inside the |