Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: Small Press Button Error
- Original author: Autipup
- Original date: May 23, 2015
- Source thread: https://forums.rpgmakerweb.com/threads/small-press-button-error.40283/
- Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker VXAce Support
Summary
I have an event that checks to see if the player presses the "C" button. The event itself will work if the player presses the button at a moderate or slow pace, but if the player presses the key too quickly, the event breaks. I have wait commands in place. So, I was wondering if someone might be able to tell me what might cause such an error?
Archived First Post
I have an event that checks to see if the player presses the "C" button.
The event itself will work if the player presses the button at a moderate or slow pace, but if the player presses the key too quickly, the event breaks.
I have wait commands in place.
So, I was wondering if someone might be able to tell me what might cause such an error?
(I've included a screenshot of the revevant common events)
=====
I have several tiles, each tile is of a different character's face. When the player (who looks like a cursor) steps on a tile, a variable called "Character" changes to 1, 2, 3 etc...
I'm using a script that activates the first common event whenever the C button is pressed.
When C is pressed, it checks to see what the variable "Character" is set to and puts a small text box graphic as well as a picture of a Circle (for yes) and an X (for no) in the middle of the screen, and the game displays text overtop of it.
It also activates another common event that allows the player to select between YES and NO and changes a variable called "Choice" to 1 or 2.
If the player presses the C button when this common event is active, and choice is = 1, it activates another common event that adds that character to the party and then deletes the images and ends the string of events.
If the player presses the C button when this common event is activate, and the choice = 2, it deletes the images and ends the string of events without adding the character to the party.
==============
It all works, just not when the character presses C button too quickly.
Protected download
The event itself will work if the player presses the button at a moderate or slow pace, but if the player presses the key too quickly, the event breaks.
I have wait commands in place.
So, I was wondering if someone might be able to tell me what might cause such an error?
(I've included a screenshot of the revevant common events)
=====
I have several tiles, each tile is of a different character's face. When the player (who looks like a cursor) steps on a tile, a variable called "Character" changes to 1, 2, 3 etc...
I'm using a script that activates the first common event whenever the C button is pressed.
When C is pressed, it checks to see what the variable "Character" is set to and puts a small text box graphic as well as a picture of a Circle (for yes) and an X (for no) in the middle of the screen, and the game displays text overtop of it.
It also activates another common event that allows the player to select between YES and NO and changes a variable called "Choice" to 1 or 2.
If the player presses the C button when this common event is active, and choice is = 1, it activates another common event that adds that character to the party and then deletes the images and ends the string of events.
If the player presses the C button when this common event is activate, and the choice = 2, it deletes the images and ends the string of events without adding the character to the party.
==============
It all works, just not when the character presses C button too quickly.
Protected download
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadReferenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
0
replies
1
view
Topic Summary
Loading summary...
