playMaker

Author Topic: [SOLVED] Logic equivalent in playmaker for user input  (Read 2503 times)

Aaal

  • Playmaker Newbie
  • *
  • Posts: 7
[SOLVED] Logic equivalent in playmaker for user input
« on: March 27, 2013, 07:11:07 AM »
Hi,

I'm doing a particular code logic using Playmaker. The logic is as follows:

if any key, other than key 'W', is pressed
           finish this event;
else
           do something;

In simple term, how do i implement this 'if any key other than key 'W' is pressed'?
I tried to use 'get key down', 'get key' options, but that's not what i want. The boolean will return true if 'W' key is pressed. Logic-wise I could have made use of the condition if it is false but the catch is there must be a key pressed from user.

Thanks.
« Last Edit: March 27, 2013, 07:51:06 AM by Aaal »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Logic equivalent in playmaker for user input
« Reply #1 on: March 27, 2013, 07:41:30 AM »
Hi,

 you will need a custom action for this, luckily, it's been done :)

http://hutonggames.com/playmakerforum/index.php?topic=487.msg1882#msg1882

bye,

 Jean

Aaal

  • Playmaker Newbie
  • *
  • Posts: 7
Re: Logic equivalent in playmaker for user input
« Reply #2 on: March 27, 2013, 07:50:07 AM »
Wow thanks Jean.