RPG Maker VX Ace

RPG Maker VX Ace

View Stats:
Brynn Jan 4, 2015 @ 9:07pm
Need Help with Buttons!
Hey guys.

I'm trying to get a situation to work where the player can find three buttons in three different rooms. Once one button is pressed (doesn't matter which), I want [1/3] to display on the screen. When a second button is pressed, again, doesn't matter which, I want [2/3] to display on the screen. And when the final button is pressed, I want it to say [3/3], wait a few seconds, then play a sound effect. Also, when you go back to press a button you've already pressed, I want it to not do any button animation or play a sound effect (as I have it now), but to just say the amount of buttons pressed so far out of the total buttons. I know how to display text and play SE's. What's not working for me is the buttons. When I press the first button, it does say [1/3], but when I press the second button, it still says [1/3]? Even weirder, it doesn't play the animation of it being pressed?!

For the buttons, I created an event page for every new graphic it goes through when it's pressed, so when I press the second button in-game, it just stays the same graphic and just says [1/3]! Any help would be greatly appreciated.

By the way, the purpose of these buttons is, when they're all pressed, a certain kind of monster will spawn in another room. But only after all three are pressed. That is my main goal here.
< >
Showing 1-4 of 4 comments
Marquise* Jan 4, 2015 @ 9:16pm 
Since one of them is working I am sure the second one can be compared to the first one and look if in your conditions you didn't left anything from the first button that should not go there.

Else, I don't know if you already made your rooms having black/dark .jpegs or .pngs over your room sections, but it is possible to load images over your game/map even if just black zones with a nice black feathered trim. I would just remove one of the 3 each time one of your button is pressed if I was doing it.

I'm pretty new at this but I saw a few tutorials around upon the opposite of this with lighting effects.
Kio Kurashi Jan 4, 2015 @ 9:53pm 
I assume that what you have is the button just displaying strait text. if so then I woul suggest having a variable that you have set to the number of buttons pressed. then in the text box have instead of [1/3] have [\V[X]/3] where X is the number of the variable that you are assigning the button presses to. now as for the animation not playing I can't tell you how to fix it exactly, but I would suggest you look over your commands to see if you are accessing a switch or variable that is a condition for the final page of the event. I am sure you can figure out why this would be the problem. If this is the case then I have 2 solutions for you. 1 instead of making a bunch of event pages use the "Move Route" command to make the button 'face' a different direction. the other solution which is to be used in tandium with the first is to have the text box on the second page that is activated by a self switch. this way you can look at the button again and see how many are activated.
Hajami Jan 5, 2015 @ 3:38am 
Create a Picture with a Grafic Programm, Safe as .PNG" File.
Import it to the Pictures Folder of VX-Ace.
Use Show Picture Command to show your Picture on the Screen.
It will move with the Map and will stay there even after Map Change.
The other stuff i would recoment some starter tutorials about:
Switches and Variables
Events and Event Page Conditions
Eventcommand Conditional Branch

Hope this gets you into the right direction.
Just ask if you have further Questions or Problems finding the mentioned stuff.
Last edited by Hajami; Jan 5, 2015 @ 3:38am
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Jan 4, 2015 @ 9:07pm
Posts: 4