summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-03-12 02:33:21 +0100
committerHaru <haru@dotalux.com>2017-03-12 02:33:21 +0100
commit386a671bf48dd4e867b0c89df0fe42beb2fe39d7 (patch)
tree9e8de976be3611ea461555f29d2cad1950dc7424 /doc/script_commands.txt
parent1470ca226c51b3269c30c0b80774240092849239 (diff)
parentebb77e29f343531b508f8c37b32826afbb5f240d (diff)
downloadhercules-386a671bf48dd4e867b0c89df0fe42beb2fe39d7.tar.gz
hercules-386a671bf48dd4e867b0c89df0fe42beb2fe39d7.tar.bz2
hercules-386a671bf48dd4e867b0c89df0fe42beb2fe39d7.tar.xz
hercules-386a671bf48dd4e867b0c89df0fe42beb2fe39d7.zip
Merge pull request #1496 from Emistry/scriptcommand_warpguild
Updated *warpguild() script command.
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 6df1f6e87..b4c033a93 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -4321,7 +4321,7 @@ Example:
---------------------------------------
-*warpguild("<mapname>", <x>, <y>, <guild_id>)
+*warpguild("<mapname>", <x>, <y>, <guild_id>, {"<from_mapname>"})
Warps a guild to specified map and coordinate given the guild id, which
you can get with getcharid(CHAR_ID_GUILD). You can also request another guild id given
@@ -4334,10 +4334,13 @@ SavePointAll: All guild members are warped to their respective save point.
SavePoint: All guild members are warped to the save point of the
currently attached player (will fail if there's no player
attached).
+
+If you specify a from_mapname, warpguild() will only affect those on that map.
Example:
warpguild("prontera", x, y, Guild_ID);
+ warpguild("prontera", x, y, Guild_ID, "payon"); // warp member from Payon map only.
---------------------------------------