RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Getting Item ME(resolved)

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 88
Legend of Mana Fan
How can I play a ME in the middle of a message saying I got something. The player is supposed to freeze until he presses the spacebar. When he does press the spacebar, the ME stops and the memorized BGM/BGS plays. How can I do that?

Thanks,
« Last Edit: April 08, 2007, 02:23:15 AM by magic2345 »
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
play ME - "Item001" or something like that
there is a button for that near Play BGM or Start BGM or whatever it is
(by the way, ME is just a sound effect that is really short so it won't loop)

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

***
Rep:
Level 88
Legend of Mana Fan
I know, but I wanted to make it like this:
Open Chest, get item message, ME plays. When the ME is playing, I want the ME to stop when the player presses spacebar and then continue with the game.

Thanks,
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

***
Rep:
Level 88
supsup
i get what your saying but if you use the play me event it will do that

hope i helped a little =)
For Free Web Design, E-mail us at freewebdesign@gmail.com

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Best Member2012 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
If you want, you could just have it like this:

Conditional Branch: C is being pressed
    Play ME: NONE
Branch END

because Play ME: None stops the current ME

***
Rep:
Level 88
supsup
oh ok thanks that kinda helped me actulley
For Free Web Design, E-mail us at freewebdesign@gmail.com

***
Rep:
Level 88
Legend of Mana Fan
What do I put in the else branch? if I do that then even if the player doesn't press C the game will continue with part of the ME playing.
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Best Member2012 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
Just put the C part into a loop which is broken if the player presses C or if the ME stops playing.

***
Rep:
Level 88
Legend of Mana Fan
OKay....I don't know what you just said....can you elaborate(explain what I should put in the common event....)...


Thanks,
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Best Member2012 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
No common event, just in the event itself, you want to stop moving once you get the item until the player hits space right?

It's look like this:

Loop
Conditional Branch C is pressed
     Play ME: None
     Break Loop
Branch END
Repeat Above

I think that should work.

***
Rep:
Level 88
Legend of Mana Fan
There are many times I need to use this. So, I used a common event...Is there something wrong putting it in a common event?

edit-Where do I put the play ME?
« Last Edit: April 08, 2007, 01:33:40 AM by magic2345 »
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Best Member2012 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
No, it will work perfectly fine. I was just under the wrong impression.

***
Rep:
Level 88
Legend of Mana Fan
I tried it and it didn't work. I was supposed to put the play ME before the loop, correct? When I called the common event, the bgm just stops... But when I tried putting wait before the loop, I heard the ME playing until it stops and then the game freezes....
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Best Member2012 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
Maybe we're overanalysing this.

Why can't you just do it this way? (inside the event):

Code: [Select]
Play ME: Item
Text: You found a ___
Play ME: None

***
Rep:
Level 88
Legend of Mana Fan
A-A-A-A-A, WHAT!? I tried it and it works and its simple too.... Why didn't I think of this before!!!

Thanks!
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%