Help - Search - Members - Calendar
Full Version: Change Vehicle Music
RPG Maker VX Community > RGSS2/Ruby Scripting > RGSS2 Scripting Language Support
AbsolutePrincess
Hi guys.

What I'm asking isn't much... I hope.
I wanna know how I can change a vehicle BGM through a script. Specifically airship's.

Much appreciated. [:
AbsolutePrincess
Okay..? Hot damn.

Long lost bump, but it's here.
Alucard_2
Just use the event command "Call Script" and call this everytime you want to change:
CODE
$data_system.airship.bgm.name = "MusicName"


Done wink.gif
AbsolutePrincess
QUOTE (Alucard_2 @ Feb 1 2012, 06:59 PM) *
Just use the event command "Call Script" and call this everytime you want to change:
CODE
$data_system.airship.bgm.name = "MusicName"


Done wink.gif


Hi, sorry for the late reply.
Anyways.
Brilliant. Worked right away. The only part I was missing was ".name".
Thanks a bunch!
ShinGamix
Can that script call be modified for all the system music?
Alucard_2
Yep. If you want to see all datas in "$data_system", just call the script:

CODE
p $data_system
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.