summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorEmistry Haoyan <Equinox1991@gmail.com>2016-10-28 00:44:18 +0800
committerEmistry Haoyan <Equinox1991@gmail.com>2017-03-05 04:39:49 +0800
commitebb77e29f343531b508f8c37b32826afbb5f240d (patch)
treeda2b7cf093628c066bebb8b0ad2bd82d2f1b6c88 /doc/script_commands.txt
parent5fdf937cbe04c75708ab27b4a15d0a63ffcedf02 (diff)
downloadhercules-ebb77e29f343531b508f8c37b32826afbb5f240d.tar.gz
hercules-ebb77e29f343531b508f8c37b32826afbb5f240d.tar.bz2
hercules-ebb77e29f343531b508f8c37b32826afbb5f240d.tar.xz
hercules-ebb77e29f343531b508f8c37b32826afbb5f240d.zip
Update *warpguild() script command.
- Added optional parameter to warp member from target map. - Update to loop guild member using `g->member[]` data.
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 9777038a4..bee02aa3b 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -4292,7 +4292,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
@@ -4305,10 +4305,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.
---------------------------------------