From 647558b6b91166728157e6d5cfcdb14891295a66 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 3 Nov 2007 22:07:47 +0000 Subject: 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 --- doc/script_commands.txt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'doc/script_commands.txt') 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() + +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() This function returns the number of values that are contained inside the -- cgit v1.2.3-60-g2f50