From 30fe943332dfcf8c20a1ddb6fdd692666226dbe8 Mon Sep 17 00:00:00 2001 From: eathenabot Date: Fri, 23 Mar 2012 04:57:11 +0000 Subject: * Merged changes up to eAthena 15083. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15773 54d463be-8e91-2dee-dedb-b68131a5f0ec --- doc/script_commands.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 354ad8298..4292017ca 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -2027,6 +2027,17 @@ Whatever it returns is determined by type. --------------------------------------- +*getnpcid() + +This function will return the GID of an NPC. +Type can be: + + 0 - The NPC that the running script is attached to. + +Useful for making an NPC perform an action using script commands that require a GID (e.g. unit*) + +--------------------------------------- + *getarraysize() This function returns the number of values that are contained inside the -- cgit v1.2.3-70-g09d2