No 'WASD' Script Call Ability for Input.trigger?

Looking to control two actors at once, so I'm divvying up the controls between the Arrow Keys & WASD.

My issue w/ RPG Maker MV is that when I perform a script call to use WASD, it fails to register and leaves me with this error:

Command used - 

Input.trigger?🙂W)

(checks if 'W' key is triggered/pressed)

Error message -

SyntaxError

Unexpected token :

My best guess is that I may need to figure out if I am able to either 1.) configure WASD keys using a keyboard plugin or 2.) use the proper script call variable (it might be more than just :W).
Looking to control two actors at once, so I'm divvying up the controls between the Arrow Keys & WASD.

My issue w/ RPG Maker MV is that when I perform a script call to use WASD, it fails to register and leaves me with this error:

Command used - 

Input.trigger?🙂W)

(checks if 'W' key is triggered/pressed)

Error message -

SyntaxError

Unexpected token :

My best guess is that I may need to figure out if I am able to either 1.) configure WASD keys using a keyboard plugin or 2.) use the proper script call variable (it might be more than just :W).
The input commands have been changed over to strings, because JavaScript does not have ruby symbols. I understand there are a few input plugins around, but haven't had the chance to look for any. Try searching MV's master list for one, or just wait a bit for me to get the chance to finish mine 🙂
The input commands have been changed over to strings, because JavaScript does not have ruby symbols. I understand there are a few input plugins around, but haven't had the chance to look for any. Try searching MV's master list for one, or just wait a bit for me to get the chance to finish mine 🙂
I can be patient, I'll keep an eye on the forums for your plug-in.  😉 Appreciate the quick feedback!
Hi pkdarmstrong,

I've gotten the plugin ready for release, so you can download it here. In order to get the W, A, S, and D keys to allow you to move, just check the parameter list, find those letters, and change them to up, left, down, and right. Please note that the parameter values are case sensitive, so make sure to make them all lower case!
Also, Input.trigger? is not a valid Javascript MV command.
Also, Input.trigger? is not a valid Javascript MV command.
My bad then, I checked it from the MV Script Call List.

Would you happen to know the proper command to use in MV to check if a certain key is triggered?

Edit: figured it out. (Input.isPressed('w')) to see if 'W' is being pressed to move character. Thank you for bringing this to my attention, Shaz.
My bad then, I checked it from the MV Script Call List.

Would you happen to know the proper command to use in MV to check if a certain key is triggered?
It would be Input.isTriggered('key')

Original thread: https://forums.rpgmakerweb.com/threads/no-wasd-script-call-ability-for-input-trigger.49220/