diff options
author | Emistry Haoyan <Equinox1991@gmail.com> | 2016-10-28 00:44:18 +0800 |
---|---|---|
committer | Emistry Haoyan <Equinox1991@gmail.com> | 2017-03-05 04:39:49 +0800 |
commit | ebb77e29f343531b508f8c37b32826afbb5f240d (patch) | |
tree | da2b7cf093628c066bebb8b0ad2bd82d2f1b6c88 /doc | |
parent | 5fdf937cbe04c75708ab27b4a15d0a63ffcedf02 (diff) | |
download | hercules-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')
-rw-r--r-- | doc/script_commands.txt | 5 |
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. --------------------------------------- |