I think I've been scratching my head over this issue for the better half of an hour. Quite simply, I want to create a conditional branch that checks if a directional key is pressed via script call. I don't want to use the "Button _ is pressed down" option in the conditional branch window because it actually doesn't do anything until the button is released. I want the conditional branch to trigger as soon as a directional key is triggered. I've tried these script calls, but keep receiving syntax errors:
I tried for example:
which returns "syntaxerror Unexpected Token :"
Removing : lists "Left" as an undefined term.
Supposedly pressing F1 during playtest shows you what each key is defined as (Which would be immensely helpful in helping me troubleshoot what I'm doing wrong) but that just opens my windows help and support window, and nothing in RPG Maker and I can't find anything that lists the script references for buttons.
If someone could help me by explaining what I'm doing wrong here and provide an example script call that'd be awesome.
I tried for example:
Code:
Input.trigger?(:Left)
Removing : lists "Left" as an undefined term.
Supposedly pressing F1 during playtest shows you what each key is defined as (Which would be immensely helpful in helping me troubleshoot what I'm doing wrong) but that just opens my windows help and support window, and nothing in RPG Maker and I can't find anything that lists the script references for buttons.
If someone could help me by explaining what I'm doing wrong here and provide an example script call that'd be awesome.