playMaker

Author Topic: GetKeyDown/Up actions, and setting keycode through script [SOLVED]  (Read 1385 times)

bbangerter

  • Playmaker Newbie
  • *
  • Posts: 5
I've searched, but it appears you cannot set the keycode for a GeyKeyDown or GetKeyUp action through script. Did I miss something? Is there a workaround for this?

I'm currently not using Unity's input manager system as I haven't found a way to update those settings at run time through my own custom menu system...
« Last Edit: November 26, 2017, 09:44:32 AM by djaydino »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: GetKeyDown/Up actions, and setting keycode through script
« Reply #1 on: November 25, 2017, 05:36:10 PM »
Hi,
There are some custom actions on the Ecosystem that could help you out.
Search for : keycode

bbangerter

  • Playmaker Newbie
  • *
  • Posts: 5
Re: GetKeyDown/Up actions, and setting keycode through script
« Reply #2 on: November 26, 2017, 12:13:12 AM »
Thanks, Get Key Down/Up from String was what I needed.

I did end up having to have a temporary state to transition to then back to my listener if my key mapping was changed before play maker recognized the new key, but that was a minor detail.