playMaker

Author Topic: I wanna know the way of making "If" with playmaker.  (Read 1454 times)

Yooney

  • Playmaker Newbie
  • *
  • Posts: 2
I wanna know the way of making "If" with playmaker.
« on: April 07, 2016, 10:22:03 AM »
Hello!
I`m rusty at Playmaker but I`m doing my best now.
I have a question about making "If".

The way I want to make is like this.

There are 3 buttons and activation conditions.(A, B, C)
If all three buttons are clicked and they are activated, I want to activate another Game object on.

Which playmaker action I have to use?
I can`t find about this way.

And If you can explain the way in detail, please tell me.

please help me and I feel thanks to you in advance.
Thank you.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: I wanna know the way of making "If" with playmaker.
« Reply #1 on: April 07, 2016, 12:40:23 PM »
Hi,
There are different ways but for your explanation i thing the action "bool all true"
i the way to go.
so when you press for example button A it needs to set a global bool named (for example) "Button A Pressed"
and do the same for the other buttons.

then you can use the Action "Bool All True" to check if all buttons have been pressed by checking the bool values that where set by pressing the buttons.

Yooney

  • Playmaker Newbie
  • *
  • Posts: 2
Re: I wanna know the way of making "If" with playmaker.
« Reply #2 on: April 07, 2016, 08:50:47 PM »
Thank you so much.
It gives me a great help. Have a good day!
I wish your life is always in a bowl of cherries.