From 058dabd69eb190f507e56747e5f25f68b935ec69 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 4 Dec 2014 01:18:28 +0300 Subject: 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. --- doc/script_commands.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc') 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 + +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; -- cgit v1.2.3-60-g2f50