Help
-
Search
-
Members
-
Calendar
Full Version:
Change Vehicle Music
RPG Maker VX Community
>
RGSS2/Ruby Scripting
>
RGSS2 Scripting Language Support
AbsolutePrincess
Jan 16 2012, 01:03 PM
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
Feb 1 2012, 03:27 PM
Okay..? Hot damn.
Long lost bump, but it's here.
Alucard_2
Feb 1 2012, 03: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
AbsolutePrincess
Feb 11 2012, 10:47 PM
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
Hi, sorry for the late reply.
Anyways.
Brilliant. Worked right away. The only part I was missing was ".name".
Thanks a bunch!
ShinGamix
Feb 11 2012, 11:06 PM
Can that script call be modified for all the system music?
Alucard_2
Feb 12 2012, 01:26 AM
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-2013
Invision Power Services, Inc.