diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-06 21:09:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-16 22:44:14 +0300 |
commit | ac4a461a4054eb814ff3df089d9caa96a4343a3d (patch) | |
tree | a4da624c7ed58bb4eccbcc926a6492a41c0e3e01 /doc | |
parent | b681deae9fdee3a219ddf43b76a553c57733f237 (diff) | |
download | hercules-ac4a461a4054eb814ff3df089d9caa96a4343a3d.tar.gz hercules-ac4a461a4054eb814ff3df089d9caa96a4343a3d.tar.bz2 hercules-ac4a461a4054eb814ff3df089d9caa96a4343a3d.tar.xz hercules-ac4a461a4054eb814ff3df089d9caa96a4343a3d.zip |
Add script command getnpcclass.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 642b67fe3..fb4c2530d 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -7588,6 +7588,16 @@ Example: --------------------------------------- +*getnpcclass {<name>}; + +Return npc class/sprite id for npc with given name or for attached npc. +If name missing and no attached npc, return -1. + +Example: + .@class = getnpcclass(); + +--------------------------------------- + *day; *night; |