MZ Make a Sound Effect Play When Key Is Pressed

Hi everyone.

I am trying to make a sound effect play when the player presses a certain key ("m" in this case). I have tried this as a common event, but nothing...silence. It's probably something stupid I am overlooking.

I have tried this as a parallel trigger as well.

Any advice or input will be appreciated!

Screenshot (2570).png
Are you looking for a plugin or using a specific plugin? I am only asking because of where you posted this.

I could be wrong and I am sure someone else can correct me, but I didn't think you could just use any key on the keyboard without a plugin. I think that only certain keys are set up to use like this and those you can find in the Event Command under Conditional Branches.

So are you looking for a plugin that will allow this?

Have you tried testing what you want with one of the keys available in the Conditional Branches Event Command?

Also, you probably know this, but a Common Event isn't going to run unless it has a Trigger or you call it with an Event Command.
Are you looking for a plugin or using a specific plugin? I am only asking because of where you posted this.

I could be wrong and I am sure someone else can correct me, but I didn't think you could just use any key on the keyboard without a plugin. I think that only certain keys are set up to use like this and those you can find in the Event Command under Conditional Branches.

So are you looking for a plugin that will allow this?

Have you tried testing what you want with one of the keys available in the Conditional Branches Event Command?

Also, you probably know this, but a Common Event isn't going to run unless it has a Trigger or you call it with an Event Command.
Sorry, looks like I posted this without proper details. I was trying to use VisuStella's Button Common Events.

On the bright side, I sorted it out. As I said, it was a very stupid little oversight on my end (facepalm). I think I need more coffee.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/make-a-sound-effect-play-when-key-is-pressed.167673/