playMaker

Author Topic: Using Bool all true Logic [SOLVED]  (Read 2555 times)

nhe1

  • Playmaker Newbie
  • *
  • Posts: 10
Using Bool all true Logic [SOLVED]
« on: January 28, 2015, 02:04:34 AM »
so i tried using bool all true as you can see in the attached image. so what i wanted is if it returns all true you go to "win" else "wait again" however it stays in the state "check for win"  even i change the boolean i have set. how do i do this?
« Last Edit: January 28, 2015, 11:10:48 PM by nhe1 »

rik

  • Full Member
  • ***
  • Posts: 246
Re: Using Bool all true Logic
« Reply #1 on: January 28, 2015, 04:59:00 AM »
use conditional expression in that case make two bools
one check for win or not another you set manually
if both are true it will show game over.

rik

  • Full Member
  • ***
  • Posts: 246
Re: Using Bool all true Logic
« Reply #2 on: January 28, 2015, 05:01:09 AM »
you need to check this every frame.
i see this in your image

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Using Bool all true Logic
« Reply #3 on: January 28, 2015, 07:03:30 AM »
You're only checking one Bool so there isn't a need to use Bool All True here. You're never actually sending Wait Again, if you wanted to do that you could use a FINISHED system event, but the action isn't firing anything unless its True.

Bool Test has a True and False event to send which is what you want in this case.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

nhe1

  • Playmaker Newbie
  • *
  • Posts: 10
Re: Using Bool all true Logic
« Reply #4 on: January 28, 2015, 09:22:03 PM »
actually there was 3 variables. i tried using just 1  variable in the image to test if it works but no luck. i was trying to implement a sort of something like (if condition 1 ==true && condition 2 ==true and so on) managed to do it using a script and just wondering if it would be possible using only fsm actions.

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Re: Using Bool all true Logic
« Reply #5 on: January 28, 2015, 10:23:54 PM »
there is a multibool cs somewhere on the site you can download.
http://hutonggames.com/playmakerforum/index.php?topic=9117.0
« Last Edit: January 28, 2015, 10:27:49 PM by wheretheidivides »