summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt11
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;