diff options
author | Yommy <Yommy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-06-09 19:57:53 +0000 |
---|---|---|
committer | Yommy <Yommy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-06-09 19:57:53 +0000 |
commit | 3afe53b2e0037df26ade1057f4e6064b90376f74 (patch) | |
tree | 002b0013a5aa8c3084622bad14b0c7368ef9f02f /doc/script_commands.txt | |
parent | 21495a40514791bf0c6c1e375f66bb9d49a96529 (diff) | |
download | hercules-3afe53b2e0037df26ade1057f4e6064b90376f74.tar.gz hercules-3afe53b2e0037df26ade1057f4e6064b90376f74.tar.bz2 hercules-3afe53b2e0037df26ade1057f4e6064b90376f74.tar.xz hercules-3afe53b2e0037df26ade1057f4e6064b90376f74.zip |
* Added support for packet 0x7fe which changes the bgm temporarily for a single player.
* Added 2 script commands, playBGM and playBGMall, documented use in doc/script_commands.txt
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14335 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index d690471bc..fe6f1663d 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -6035,6 +6035,25 @@ You can add your own effects this way, naturally. --------------------------------------- +*playBGM "<BGM filename>" +*playBGMall "<BGM filename>",{,"<map name>"}{,<x0>,<y0>,<x1>,<y1>} + +These two commands will play a Background Music to either the invoking character +only ('playBGM') or multiple characters ('playBGMall'). If the running +code does not have an object ID (a 'floating' npc) or is not running from an NPC +object at all (an item script) the sound will be centered on the character who's +RID got attached to the script, if any. If it does, it will be centered on that +object. (an NPC sprite) + +BGM filename is the filename in /BGM/ folder. It has to be in .mp3 extension. + +It's not required to specify the extension inside the script. +If coordinates are omitted, BGM will be broadcasted on the entire map. + +You can add your own BGMs this way, naturally. + +--------------------------------------- + *pvpon "<map name>"; *pvpoff "<map name>"; |