playMaker

Author Topic: Typing a string not in a GUI field...  (Read 1303 times)

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Typing a string not in a GUI field...
« on: May 29, 2016, 03:59:33 PM »
I am trying to implement a quick way to access maps in my project at runtime.
I have no GUI objects in the scene.

I would like to type straight into numerical keypad something like "132" and then load map 132.
Should be pretty easy, but instead it proves a hard task with available actions, unless I'm missing something.
In fact, the Key Up and other Key actions only give you back a boolean if they have been pressed.
So, even when I only want to use 10 keys from the keypad I find that I should create a mess of flow for each key.
Is there a way to do this more cleanly?

May I suggest to add to the Get Key Up and other key actions a store variable that is not only a boolean, but a string that gets the key text, so one can build strings quickly without the need for a GUI.

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Typing a string not in a GUI field...
« Reply #1 on: May 29, 2016, 04:31:48 PM »
Solved with this action: http://hutonggames.com/playmakerforum/index.php?topic=487.15
Should be introduced in the standard suite, with a little of refinement.