Button Smashing

Hi, I'm searching for a button smashing system outside battle that don't use the Atelier RGSS script for chain command:
https://atelierrgss....ain-commands-m/



There's also "Thex Animated Power Bar & Button Masher", however I can't the neither the script or the demo.
http://www.rpgmakerc...-button-masher/



This other system don't quite work, as the player could just do a continuous press instead of pressing a lot of times:
http://www.rpgmakerc...rap-tile-event/



I tryied this tutorial for RPG Maker MV, however it didn't worked on VX, it seems that as long as the text window is opened, the "End Game" command can't be executed.


Thanks for your time!
I would create a variable with value = 50 and a loop containing the condition which, "if button is triggered" add 1 on a variable, and "else" decreses 1. Another condition would verify if variable = 0 (failed), or = 100 (succeed), and exits the loop.

In theory I think it works. As you're portuguese, if you preffer, posting here we can explain better.
Thanks for the fast response!

Like this?
2017-05-19_221111.jpg

The problem with this event is that the player can just maintain the button pressed. My intention was to force him to keep pressing the button several times before the time runs out.
Exactly. Therefore you must use a condition by script instead of by "button is pressed". Try this code:
Code:
Input.trigger?(Input::C)
Wehn I make a condition by script with "Input.trigger?(Input::C)" i get a syntax error...

Original thread: https://forums.rpgmakerweb.com/threads/button-smashing.78835/