summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-04-25 17:04:15 +0200
committerGitHub <noreply@github.com>2017-04-25 17:04:15 +0200
commit7064be0489c91268b28081e6f11d92fd3ffc99b1 (patch)
treefc6976977383962d8159e98bd2425127081192c9 /doc/script_commands.txt
parent89ffb3db746b016ea1cc12ef2f148152ed280172 (diff)
parent98a96e7d4977d50b2b5553786a4994e07fbba528 (diff)
downloadhercules-7064be0489c91268b28081e6f11d92fd3ffc99b1.tar.gz
hercules-7064be0489c91268b28081e6f11d92fd3ffc99b1.tar.bz2
hercules-7064be0489c91268b28081e6f11d92fd3ffc99b1.tar.xz
hercules-7064be0489c91268b28081e6f11d92fd3ffc99b1.zip
Merge pull request #1689 from Jedzkie/2-GiantFlyWing
Implemented official Giant Fly Wing Effect
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index e4df77051..d7795b7a6 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -2687,7 +2687,7 @@ Example 2: check party count (with a next() pause), before warping to event
}
// Finally, it's safe to start the event!
- warpparty("event_map", 0, 0, getcharid(CHAR_ID_PARTY));
+ warpparty("event_map", 0, 0, getcharid(CHAR_ID_PARTY), true);
---------------------------------------
@@ -4355,7 +4355,7 @@ See also warp().
---------------------------------------
-*warpparty("<to_mapname>", <x>, <y>, <party_id>, {"<from_mapname>"})
+*warpparty("<to_mapname>", <x>, <y>, <party_id>, "<from_mapname>", <include_leader>)
Warps a party to specified map and coordinate given the party ID, which
you can get with getcharid(CHAR_ID_PARTY). You can also request another party id given
@@ -4375,13 +4375,15 @@ Leader: All party members are warped to the leader's position. The
If you specify a from_mapname, warpparty() will only affect those on
that map.
+You can exclude Party leader from warping, by keeping include_leader option as false.
+
Example:
mes("[Party Warper]");
mes("Here you go!");
close2();
.@id = getcharid(CHAR_ID_PARTY);
- warpparty("prontera", 150, 100, .@id);
+ warpparty("prontera", 150, 100, .@id, true);
close();
---------------------------------------