Help - Search - Members - Calendar
Full Version: YEM Keyboard Input Conditional Branch Question
RPG RPG Revolution Forums > Scripting > Script Development and Support
Jonnie19
Okay, i have tried and tried over and over again and now I am stressed tongue.gif I am sure this is REALLY simple....and I am just being a real scripting NOOB

I am trying to integrate YEM's Keyboard Input into an event. i want to check whether a specific letter is being pressed, I worked out that i needed to first call the letter using:

CODE
    if Input.typing?
       string = LETTERS['H'].Input
     end


this works with no problems or error, however I don't know how to continue, i want to set a conditional branch saying If the letter H is pressed, it would bring something up, I have tried the following:
Attempt 1

Attempt 2


and unfortunately none of these have worked, can anyone help me out here smile.gif the script I am using is here
Thanks
Jonnie
Jonnie19
BUMP tongue.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.