summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorsketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-22 00:27:30 +0000
committersketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-22 00:27:30 +0000
commitc724e71f0e8487cdb3c1016c30e7a739f73497ef (patch)
treeff506116e52583cf432c383ef66b0c0f8e7cafa5 /doc/script_commands.txt
parenta496d2693dd3727a8e3991b05fe57601e44b48b1 (diff)
downloadhercules-c724e71f0e8487cdb3c1016c30e7a739f73497ef.tar.gz
hercules-c724e71f0e8487cdb3c1016c30e7a739f73497ef.tar.bz2
hercules-c724e71f0e8487cdb3c1016c30e7a739f73497ef.tar.xz
hercules-c724e71f0e8487cdb3c1016c30e7a739f73497ef.zip
* Modified *killmonsterall to support a new argument that will allow it to kill monsters using the new OnMyMobDead behavior (in order to avoid breaking older scripts) (bugreport:1734)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12873 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 9ebfdb381..091ad5293 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -4623,10 +4623,17 @@ of the event label value.
---------------------------------------
-*killmonsterall "<map name>";
+*killmonsterall "<map name>"{,<type>};
This command will kill all monsters on a specified map name, regardless of how
-they were spawned or what they are.
+they were spawned or what they are. As of r12873, The behavior has changed slightly.
+In light of a label behavior fix for mob spawning commands that will now allow the label to
+trigger when there is no player, killmonsterall has also been modified to support this.
+
+Using this the normal/old way means labels dont trigger when a player didn't
+attack/kill a monster. This is because it breaks compatability with older scripts if
+forced to use the new method. However, if you wish to use the new label type with this
+command, simply use 1 for type. Any other number won't be recognized.
---------------------------------------