The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Arrow on September 29, 2006, 02:17:16 AM

Title: Music
Post by: Arrow on September 29, 2006, 02:17:16 AM
Consider this: You have song with some pickup bars, the main theme, and a dramatic ending. You want to use it for a battle theme, but you don't want a dramatic ending with the fight still having half way to go. So you would (Maybe) use a script.

It would start the song as normal, then play through to a certain point (set in a variable, in total seconds).

If the battle was still going, the song would jump back to another point (set in another variable in the same way).

If the battle ends, the song skips forward to the ending, and does not continue to play any music afterward.

How would one go about doing this?
Title: Re: Music
Post by: Tsunokiette on September 29, 2006, 02:31:58 AM
Write the different parts seperately.
Title: Re: Music
Post by: Arrow on September 30, 2006, 02:51:05 AM
Tried that, but they don't sync up correctly, I end up getting  something around a FIVE SECOND PAUSE between each part, which is completely unaccceptable.