Started by cyclope, July 05, 2010, 12:20:53 pm
Input.trigger?(Input::Key['THEKEYYOUWANT'])
Quote from: AresWarrior on July 05, 2010, 06:03:59 pmunder the conditional branch (if ctrl is pressed), make another conditional branch (if C is pressed)
if Input.press?(Input::Z) && Input.trigger?(Input::A) $scene = Scene_Map.new #For instanceend
if (Input.press?(Input::Z) && Input.trigger?(Input::A)) || (Input.press?(Input::A) && Input.trigger?(Input::Z)) $scene = Scene_Map.new #For instanceend
Quote from: winkio on July 06, 2010, 10:48:00 pmhaving two input.trigger? will not work, as you have to press both buttons the same frame. Having two input.press? will not work because it will repeat the action multiple times. You need 1 input.trigger?, and all the rest input.press?, for any given button combination. No need to mess around with switches or other stuff.