diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-04 01:18:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-16 22:25:17 +0300 |
commit | 058dabd69eb190f507e56747e5f25f68b935ec69 (patch) | |
tree | d4fec81036aa282c2a3a87230e3e84fdf99eeedf /doc/script_commands.txt | |
parent | 5736970973fefa2a1e10a1847c9bb12bd2cb0719 (diff) | |
download | hercules-058dabd69eb190f507e56747e5f25f68b935ec69.tar.gz hercules-058dabd69eb190f507e56747e5f25f68b935ec69.tar.bz2 hercules-058dabd69eb190f507e56747e5f25f68b935ec69.tar.xz hercules-058dabd69eb190f507e56747e5f25f68b935ec69.zip |
Add script command to set npc click/activate instance.
New script command: setnpcdistance N
Where N is distance in tiles from where npc can be clicked.
Add setnpcdistance into docs.
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 3467a5366..36b52988b 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -7558,6 +7558,17 @@ config, and will not work properly if the NPC has a mob sprite. --------------------------------------- +*setnpcdistance <distance> + +This command can reduce distance from where npc can be clicked. +Usefull to use from OnInit event. + + // Set distance to one tile on server load + OnInit: + setnpcdistance 1; + +--------------------------------------- + *day; *night; |