diff options
author | Haru <haru@dotalux.com> | 2018-11-13 17:16:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-13 17:16:11 +0100 |
commit | 1e5df06b8a23ea13c3fc1b07339c261a77600bae (patch) | |
tree | 1d6811001638da46108a3e74601e9ff980090f85 /doc | |
parent | d564cdaabdb9f1929e58cd68c1208f89100acf90 (diff) | |
parent | 7b45d05bd8e3f476f1d801203f2968993b52a31f (diff) | |
download | hercules-1e5df06b8a23ea13c3fc1b07339c261a77600bae.tar.gz hercules-1e5df06b8a23ea13c3fc1b07339c261a77600bae.tar.bz2 hercules-1e5df06b8a23ea13c3fc1b07339c261a77600bae.tar.xz hercules-1e5df06b8a23ea13c3fc1b07339c261a77600bae.zip |
Merge pull request #2289 from EyesOfAHawk/buildin_getnpcid
Remove type argument from buildin_getnpcid.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 219c71205..90d4d77cc 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -2579,15 +2579,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. --------------------------------------- |