diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-29 18:18:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-29 18:18:16 +0300 |
commit | c4d320e72a4060408c97a0207e9b82433cec9418 (patch) | |
tree | b9fc8bf0551152ab30da87bb7ec281dccf498611 /src/map/init.c | |
parent | f518402fc06a3bc4824af47e6c979ce649326cf4 (diff) | |
download | evol-hercules-c4d320e72a4060408c97a0207e9b82433cec9418.tar.gz evol-hercules-c4d320e72a4060408c97a0207e9b82433cec9418.tar.bz2 evol-hercules-c4d320e72a4060408c97a0207e9b82433cec9418.tar.xz evol-hercules-c4d320e72a4060408c97a0207e9b82433cec9418.zip |
Add script command to set distance to npc where clicks/selection can work.
New script command: setnpcdistance N
Diffstat (limited to 'src/map/init.c')
-rw-r--r-- | src/map/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c index e4c395c..acf6de5 100644 --- a/src/map/init.c +++ b/src/map/init.c @@ -83,6 +83,7 @@ HPExport void plugin_init (void) addScriptCommand("getmapmask", "s", getMapMask); addScriptCommand("getnpcclass", "*", getNpcClass); addScriptCommand("setnpcsex", "*", setNpcSex); + addScriptCommand("setnpcdistance", "i", setNpcDistance); addScriptCommand("setpcsit", "*", setPcSit); addScriptCommand("getpcsit", "*", getPcSit); |