summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2017-04-17 22:23:32 +0800
committerJedzkie <jedzkie13@rocketmail.com>2017-04-23 13:59:59 +0800
commit98a96e7d4977d50b2b5553786a4994e07fbba528 (patch)
tree4eb21b46527f5bb072f38633984e40ba7b7bfba8 /doc/script_commands.txt
parent5802b22439441be1914ae9024d6ce06d51c0210f (diff)
downloadhercules-98a96e7d4977d50b2b5553786a4994e07fbba528.tar.gz
hercules-98a96e7d4977d50b2b5553786a4994e07fbba528.tar.bz2
hercules-98a96e7d4977d50b2b5553786a4994e07fbba528.tar.xz
hercules-98a96e7d4977d50b2b5553786a4994e07fbba528.zip
Implemented official Giant Fly Wing Effect
Update the *warpparty script commmand, credits to Dastgir Coding-style fixes & whitespace adjustments in warpparty part in script.c
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 e7a8d774f..a8fc2e114 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();
---------------------------------------