From 7b45d05bd8e3f476f1d801203f2968993b52a31f Mon Sep 17 00:00:00 2001 From: EyesOfAHawk Date: Thu, 18 Oct 2018 03:23:18 +1300 Subject: Remove type argument from buildin_getnpcid. --- doc/script_commands.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'doc/script_commands.txt') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 64468ed49..f3dd3b844 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -2574,15 +2574,12 @@ playerattached() to check for the character attached to the script. --------------------------------------- -*getnpcid({, ""}) +*getnpcid({""}) Retrieves IDs of the currently invoked NPC. If a unique npc name is given, -IDs of that NPC are retrieved instead. Type specifies what ID to retrieve -and can be one of the following: +IDs of that NPC are retrieved instead. - 0 - Unit ID (GID) - -If an invalid type is given or the NPC does not exist, 0 is returned. +If the NPC does not exist, 0 is returned. --------------------------------------- -- cgit v1.2.3-60-g2f50