Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RESOLVED] button input?

Started by muplah, December 30, 2007, 05:24:00 PM

0 Members and 1 Guest are viewing this topic.

muplah

Im sorry for posting another topic so soon after my first one but I have searched for buttton input and found a few things but nothing that helped me.  I think I am suposed to have a conditional branch over it so when I do that and press B for that is what I set the button pressed in conditional branch nothing happends when it should teleport you to another map. I am using RMXP

Brady

I idn't actually get what you meant there.  I've never heard of key input being used with conditional branches.

As far as i know, you're meant to set a combination of buttons and a result (for example, pressing enter makes you start jump, move forward, end jump.  Or pressing up, down, up, down makes you gain 99 levels.....) 

How it actually works tough, as i said on the other thread, i'm not sure how you actually et it all up, but i'm fairly certain that that's how it rolls....

HolyQuebec

all right listen up.
make a variable called[X]

make your key input code. you'll see there's different keys AND there's numbers beside them. this is the value of the key. lets say the value of shift is 6. what's you,re gonna do is:

Key Input
cond.branch. if [X] = 6 then
your code.

if you wanna have 2 like a combinaison, guess you gotta put two then =P
I never tried that myself. guess I should soon.

&&&&&&&&&&&&&

Put it like this.



If you have it set up like this, but it still doesn't work. It's because (b) doesn't = b one the keyboard.



(b) = X on the keyboard.
&&&&&&&&&&&&&&&&

muplah

It worked!!! Thank you soo much guys!!!

HolyQuebec