Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: nhe1 on January 28, 2015, 02:04:34 AM

Title: Using Bool all true Logic [SOLVED]
Post by: nhe1 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?
Title: Re: Using Bool all true Logic
Post by: rik 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.
Title: Re: Using Bool all true Logic
Post by: rik on January 28, 2015, 05:01:09 AM
you need to check this every frame.
i see this in your image
Title: Re: Using Bool all true Logic
Post by: Lane 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.
Title: Re: Using Bool all true Logic
Post by: nhe1 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.
Title: Re: Using Bool all true Logic
Post by: wheretheidivides 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