From ebb77e29f343531b508f8c37b32826afbb5f240d Mon Sep 17 00:00:00 2001 From: Emistry Haoyan Date: Fri, 28 Oct 2016 00:44:18 +0800 Subject: Update *warpguild() script command. - Added optional parameter to warp member from target map. - Update to loop guild member using `g->member[]` data. --- doc/script_commands.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc') 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("", , , ) +*warpguild("", , , , {""}) 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. --------------------------------------- -- cgit v1.2.3-60-g2f50