summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-06-01 16:01:52 +0200
committerGitHub <noreply@github.com>2019-06-01 16:01:52 +0200
commit04509358343beb64bc3c6b79a35cf03899370f1a (patch)
tree5bf26ec8d9322123ecdbd7d8b862ec90085a1a90 /doc
parent0514a2b066d89e66efab5afb5dfe453b2039f11d (diff)
parent8013b7950bc9a48ec91c25587e513ad563d5f34f (diff)
downloadhercules-04509358343beb64bc3c6b79a35cf03899370f1a.tar.gz
hercules-04509358343beb64bc3c6b79a35cf03899370f1a.tar.bz2
hercules-04509358343beb64bc3c6b79a35cf03899370f1a.tar.xz
hercules-04509358343beb64bc3c6b79a35cf03899370f1a.zip
Merge pull request #2474 from Emistry/scriptcommand_getmapinfo
Update *getmapinfo script command.
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 516454365..ae9d05d46 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -3396,11 +3396,12 @@ argument is omitted, it will try to use the map of the attached NPC, or the
map of the attached player if the NPC can't be found.
Valid <info> are:
- MAPINFO_NAME name of the map
- MAPINFO_ID numeric ID of the map
- MAPINFO_ZONE name of the zone used by the map
- MAPINFO_SIZE_X width of the map (cells on the x axis)
- MAPINFO_SIZE_Y height of the map (cells on the y axis)
+ MAPINFO_NAME name of the map
+ MAPINFO_ID numeric ID of the map
+ MAPINFO_ZONE name of the zone used by the map
+ MAPINFO_SIZE_X width of the map (cells on the x axis)
+ MAPINFO_SIZE_Y height of the map (cells on the y axis)
+ MAPINFO_NPC_COUNT total number of NPC in the map
Examples:
getmapinfo(MAPINFO_ID, "map name"); // ID from name