Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Aaal on March 27, 2013, 07:11:07 AM

Title: [SOLVED] Logic equivalent in playmaker for user input
Post by: Aaal 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.
Title: Re: Logic equivalent in playmaker for user input
Post by: jeanfabre 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
Title: Re: Logic equivalent in playmaker for user input
Post by: Aaal on March 27, 2013, 07:50:07 AM
Wow thanks Jean.