Main Menu
  • Welcome to The RPG Maker Resource Kit.

Random BGM

Started by guyvers bane, November 04, 2008, 05:34:27 PM

0 Members and 1 Guest are viewing this topic.

guyvers bane

I've been working on a way to get a map to play a random background midi everytime you enter the map. here's the code:
Parallel process
chng variable rndm 1-5
frk option:[variable0001]
play bgm 1

end case:
clear timer
frk option:[variable002]
play bgm 2

end case
clear timer
etc...
The only problem with this is that the clear time operation stops the rest of the event, and the random selection is always on the first bgm.
What could I do to fix this?
Like our page and show your support below!

https://www.facebook.com/Helvetios.2015



"Oh yonder years of man...where legends live and magic waits.
Take in these words, a story unfolds for all to hear."