So I tried the "Button [x] is pressed down" condition for a QTE event I have, but when I held it, it keeps repeating every frame? How do I make it so that it only triggers when I let go of the key? I don't mind if I have to use a script because I have been practicing JS myself.
Button presses that do not repeat on hold?
RPG Maker MV SupportInput.isTriggered(buttonName)Put buttonName like 'ok'
EDIT: Or I mean if you want to check for trigger that wasn't pressed last frame
thank you, this works c:
In general, the options are:
1. Button Triggered:
Use Input.isTriggered(buttonName)
Example: Input.isTriggered('ok') will be True iff the ""ok"" button is down this frame but was up last frame
2. Button Pressed:
Use Input.isPressed(buttonName)
Example: Input.isPressed('ok') will be True iff the ""ok"" button is down this frame
3. Button Long-Pressed:
Use Input.isLongPressed(buttonName)
Example: Input.isLongPressed('ok') will be True iff the ""ok"" button been held for 24+ frames without release
4. Button Repeat Signal:
Use Input.isRepeated(buttonName)
Example: Input.isRepeated('ok') will be True every 6th frame while ""ok"" is long-pressed
1. Button Triggered:
Use Input.isTriggered(buttonName)
Example: Input.isTriggered('ok') will be True iff the ""ok"" button is down this frame but was up last frame
2. Button Pressed:
Use Input.isPressed(buttonName)
Example: Input.isPressed('ok') will be True iff the ""ok"" button is down this frame
3. Button Long-Pressed:
Use Input.isLongPressed(buttonName)
Example: Input.isLongPressed('ok') will be True iff the ""ok"" button been held for 24+ frames without release
4. Button Repeat Signal:
Use Input.isRepeated(buttonName)
Example: Input.isRepeated('ok') will be True every 6th frame while ""ok"" is long-pressed
Original thread: https://forums.rpgmakerweb.com/threads/button-presses-that-do-not-repeat-on-hold.183137/