summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEyesOfAHawk <blackoutro2006@gmail.com>2018-10-18 03:23:18 +1300
committerHaru <haru@dotalux.com>2018-11-13 17:13:38 +0100
commit7b45d05bd8e3f476f1d801203f2968993b52a31f (patch)
treeb1f73f007939678c46cea7123b75ff74a3017653 /doc
parentbaeb7a1742b0fd7ac5d3a4cecd90f74d461895fe (diff)
downloadhercules-7b45d05bd8e3f476f1d801203f2968993b52a31f.tar.gz
hercules-7b45d05bd8e3f476f1d801203f2968993b52a31f.tar.bz2
hercules-7b45d05bd8e3f476f1d801203f2968993b52a31f.tar.xz
hercules-7b45d05bd8e3f476f1d801203f2968993b52a31f.zip
Remove type argument from buildin_getnpcid.
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt9
1 files changed, 3 insertions, 6 deletions
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(<type>{, "<npc name>"})
+*getnpcid({"<npc name>"})
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.
---------------------------------------