Conditional Branch Script command for other Keyboard Inputs?

● ARCHIVED · READ-ONLY
Started by wrigty12 4 posts View original ↗
  1. I am making a common event that plays Music notes based on what key is being pressed on the keyboard.

    For instance, E,R,T,Y,U,I, and O keys all play different notes, while the 4,5,6,8, and 9 keys play sharp notes.

    Conditional branches only allow for Key Pressed for the default keys.

    Is there a script command insert for checking if a different key is being pressed? I do not want to replace the default keys either.

    Thanks!
  2. Input.press?(key_code)


    You must be using a keyboard script to get access to those other keys though, so you'd need to check what the appropriate key_code is to pass in.
  3. What is a good keyboard script to do such a thing? I haven't found anything.
  4. Oh - I assumed when you listed all those keys, you were indicating that you already HAD that bit functioning.


    Do a search in the Master Script List for Keyboard, or make a post in RGSS3 Script Requests. I know there are a couple out there.