diff options
author | AnnieRuru <jeankofannie2@gmail.com> | 2019-02-26 17:51:04 +0800 |
---|---|---|
committer | AnnieRuru <jeankofannie2@gmail.com> | 2019-02-26 17:51:04 +0800 |
commit | 76a336eea15b0af70ebe4d3dd13b25f1f503e03c (patch) | |
tree | fa9cde2b060fde15950cd9b49a56a2bc01bdfc20 /doc/script_commands.txt | |
parent | d496d8963fb4c2eb9015a2911a88299e29644681 (diff) | |
download | hercules-76a336eea15b0af70ebe4d3dd13b25f1f503e03c.tar.gz hercules-76a336eea15b0af70ebe4d3dd13b25f1f503e03c.tar.bz2 hercules-76a336eea15b0af70ebe4d3dd13b25f1f503e03c.tar.xz hercules-76a336eea15b0af70ebe4d3dd13b25f1f503e03c.zip |
Add missing documentation for disable battleground respawn
- fix a minor bug that bg_create_team should return -1, as mentioned in doc/script_commands.txt
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index db851128f..b74a231d3 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -9616,6 +9616,11 @@ is run when they relog. <On Death Event> refers to an NPC label that attaches to the character and is run when they die. Can be "" for empty. +If "-" is supplied for <mapname>, this will remove the 1 second automatic +respawn on the battleground map. This allows for better manipulation of +<On Death Event>. The player will have to be warped to desired location +at the end of <On Death Event>. + Unlike the prior command, the latter will attach a GROUP in a waiting room to the battleground, and sets the array $@arenamembers[0] where 0 holds the IDs of the first group, and 1 holds the IDs of the second. @@ -9747,6 +9752,8 @@ mapflag%TAB%<map_name>%TAB%battleground%TAB%2 This command will create a new BG Team. When player dies, they will be respawned map_name,X,Y as mentioned. +If "-" is supplied for the map name, this will remove the 1 second automatic +respawn on the battleground map. Command will return -1 if BG Creation is failed, else it will return the BG ID(Also known as TeamID). |