HomeHome        IRC IRC  SearchSearch  FAQFAQ  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log inLog in  
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Top posters
kzar
 
A.v.a.
 
LadyLeilani
 
BlackMuffin
 
Kalez
 
Dan
 
xShaddy
 
Hero
 
Kaptain J
 
Amycha
 
Latest topics
» ASTM A6 A6M
by haralav Sun Feb 16, 2014 12:36 am

» Powered By SMF 2.0 Free Boxing Workout Routine
by haralav Sat Feb 15, 2014 5:35 am

» Inazuma Eleven Strikers PC.rar.rar
by haralav Fri Feb 14, 2014 9:21 pm

» Codigo Alimentario EspaNol Y Disposiciones Complementarias 6 Ed .
by haralav Fri Feb 14, 2014 7:40 pm

» Shinwa Ep 1 : The Sacred Stone Kibo
by hkoz Fri Jul 19, 2013 9:45 am

Affiliates

-----

-----
free forum

Share | 
 

 Simple ME script for RMVXA

View previous topic View next topic Go down 
AuthorMessage
LadyLeilani
Member
avatar
Member


Title : Around the World
Posts : 55
Join date : 2012-04-12
Age : 28
Gender : Female
Location : USA
Skill : Writer

PostSubject: Simple ME script for RMVXA   Mon Jun 11, 2012 8:09 am

Hello everyone!

While working on my world map menu (all evented finally, yay) I hit a pretty big snag that could be solved with some scripting knowledge. I am playing one of a few different ME ogg files that will randomly cycle when the player reaches the travel map, but I don't want the song to loop. That means I can't use a BGS or BGM to get my idea across.

I want the song to only play once, but there's no event commands for stopping or fading out MEs...and thus my problem.

I desire a script that will let MEs fade out or be stopped abruptly. Both or just one will do. The ME needs to stop when the player transitions maps or else it'll be a bit silly having to hear about 20 more seconds of a ME before the map's music plays.

So to sum it all up: I want a script that will allow me to put in an event command to stop a ME, or just the scriptlet to stop a ME from an event. Either way I will love you forever. I kinda don't want to make accounts to the other Rpg Maker sites until my demo's been out for a bit here, and it'd be kinda rude for my first post to ask for scripting help.

If anyone tries to help me, thanks in advance.

_________________
Back to top Go down
View user profile
Kalez
Admin
avatar
Admin


Title : Thief of Failures
Posts : 30
Join date : 2012-03-19
Age : 33
Gender : Male
Location : Land of Fortune and Misfortune
Skill : Jack of All

PostSubject: Re: Simple ME script for RMVXA   Mon Jun 18, 2012 1:58 pm

LadyLeilani wrote:
Hello everyone!

While working on my world map menu (all evented finally, yay) I hit a pretty big snag that could be solved with some scripting knowledge. I am playing one of a few different ME ogg files that will randomly cycle when the player reaches the travel map, but I don't want the song to loop. That means I can't use a BGS or BGM to get my idea across.

I want the song to only play once, but there's no event commands for stopping or fading out MEs...and thus my problem.

I desire a script that will let MEs fade out or be stopped abruptly. Both or just one will do. The ME needs to stop when the player transitions maps or else it'll be a bit silly having to hear about 20 more seconds of a ME before the map's music plays.

So to sum it all up: I want a script that will allow me to put in an event command to stop a ME, or just the scriptlet to stop a ME from an event. Either way I will love you forever. I kinda don't want to make accounts to the other Rpg Maker sites until my demo's been out for a bit here, and it'd be kinda rude for my first post to ask for scripting help.

If anyone tries to help me, thanks in advance.

i could be missing something, but do a script call in the event you use to change maps with this inside it:

RPG::ME.stop

let me know if that doesnt work, though it may take a few days to respond. i dont check here every day, but ill try to remember to keep watch

_________________
Back to top Go down
View user profile http://rmcollective.wordpress.com
LadyLeilani
Member
avatar
Member


Title : Around the World
Posts : 55
Join date : 2012-04-12
Age : 28
Gender : Female
Location : USA
Skill : Writer

PostSubject: Re: Simple ME script for RMVXA   Wed Jun 20, 2012 10:52 am

It DOES work.

Thanks Kalez! I guess since I put a $ before it last time that the code didn't work before I posted this.
It stops it abruptly which is what I decided I wanted anyway, since turning off a radio doesn't fade it out unless you're the weird type of person who slowly turns it down.

_________________
Back to top Go down
View user profile
Sponsored content





PostSubject: Re: Simple ME script for RMVXA   

Back to top Go down
 

Simple ME script for RMVXA

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
AVA Community - RPG Maker VX & Ace Forums :: User Contribution :: Help & Support :: Script Requests/Support-