Main Menu
  • Welcome to The RPG Maker Resource Kit.

Getting Item ME(resolved)

Started by magic2345, April 07, 2007, 01:47:36 PM

0 Members and 1 Guest are viewing this topic.

magic2345

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,
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

tSwitch

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

magic2345

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%

sparten84

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

modern algebra

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

sparten84

oh ok thanks that kinda helped me actulley
For Free Web Design, E-mail us at freewebdesign@gmail.com

magic2345

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%

modern algebra

Just put the C part into a loop which is broken if the player presses C or if the ME stops playing.

magic2345

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%

modern algebra

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.

magic2345

#10
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?
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

modern algebra

No, it will work perfectly fine. I was just under the wrong impression.

magic2345

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%

modern algebra

Maybe we're overanalysing this.

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


Play ME: Item
Text: You found a ___
Play ME: None

magic2345

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%