Would someone look and tell me what is wrong?

elwooha6

Villager
Member
Joined
Jan 29, 2014
Messages
7
Reaction score
2
First Language
English
So I started making a button mashing event/common event based on a tutorial I saw for VX Ace. I have taken the basics of that system and made it my own but now I cannot get the event to trigger properly.

This is the map event that triggers the whole button mashing system

RPGMV Button Masher Event.jpg



This is the common event called from the main event

RPGMV Button Masher Common Event.jpg

 

Basically the map event sets a variable for the number of times you mash the button and then calls the button masher common event. The common event then displays pictures that tell the player to press the button, space in this case, and checks that the button is not being held down. Then we jump back to the map event and check how many times the button has been pressed, if you hit the limit then it completes the conditional branch and the event finishes running outside of the loop.

Somewhere in this process something is getting messed up and the button press happens rapid fire but I'm not sure why, any help will be greatly appreciated.

Here is a link to the original tutorial here on RPG Maker Web.

~Six
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
When you post screenshots, please show the WHOLE window, not just the list of commands. You say the first one is a map event, but I can't tell if it's on parallel process, action button, or what. This is important.


At a guess, since all the information is not available, I would suggest you put your Wait X Frames inside the loop, or maybe in both places.
 

elwooha6

Villager
Member
Joined
Jan 29, 2014
Messages
7
Reaction score
2
First Language
English
Thanks for the notes Shaz, I have included the requested information in the new screenshots and added a link to the original project page. I tried adding a Wait in the loop as well but it still just moves through the event without waiting for further button presses.

EDIT: Problem solved, I just needed to think a bit more logically about the problem. This screenshot shows how I fixed it in case anyone else wants to know.

RPGMV Button Masher Event Fixed.jpg
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,047
Messages
1,018,539
Members
137,834
Latest member
EverNoir
Top