From f50ce9e6be15ed32eee03ea919641ca2692c52ec Mon Sep 17 00:00:00 2001 From: xantara Date: Wed, 15 Aug 2012 01:12:36 +0000 Subject: ` Changed areawarp script command to accept two additional, yet optional, parameters to allow an area warp to an area (instead of just a specific coordinates). See documentation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16636 54d463be-8e91-2dee-dedb-b68131a5f0ec --- doc/script_commands.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc/script_commands.txt') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index e3949afde..f63288da1 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -3701,7 +3701,7 @@ There are also three special 'map names' you can use. --------------------------------------- -*areawarp "",,,,,"",,; +*areawarp "",,,,,"",,{,,}; This command is similar to 'warp', however, it will not refer to the invoking character, but instead, all characters within a specified area, defined by the @@ -3719,6 +3719,11 @@ Y 150 By using ,0,0; as the destination coordinates it will take all the characters in the affected area to a random set of co-ordinates on "place2". + areawarp "place",10,10,120,120,"place2",150,150,200,200; + +By using the optional x4 and y4 parameters, the destination coordinates will be a +random place within the defined x3/y3-x4/y4 square. + Like 'warp', areawarp will also explicitly warp characters randomly into the current map if you give the 'to map name' as "Random". -- cgit v1.2.3-60-g2f50