From 3afe53b2e0037df26ade1057f4e6064b90376f74 Mon Sep 17 00:00:00 2001 From: Yommy Date: Wed, 9 Jun 2010 19:57:53 +0000 Subject: * 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 --- doc/script_commands.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'doc/script_commands.txt') 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 "" +*playBGMall "",{,""}{,,,,} + +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 ""; *pvpoff ""; -- cgit v1.2.3-70-g09d2