Playmaker Forum

PlayMaker Feedback => Feature Requests => Topic started by: jess84 on September 14, 2013, 09:53:54 AM

Title: Bool All/None True
Post by: jess84 on September 14, 2013, 09:53:54 AM
(I browsed through the first few pages and didn't see this mentioned, but apologies if it was already mentioned)

On Bool All/None True tests, it would be useful to have an event available for False as well as the existing True, so that you can branch different outcomes more efficiently.
Title: Re: Bool All/None True
Post by: Lane on September 14, 2013, 09:59:14 AM
http://hutonggames.com/playmakerforum/index.php?topic=3733.msg17285#msg17285

There's no direct action, but you can create logic to accomplish the same thing.
Title: Re: Bool All/None True
Post by: jeanfabre on September 16, 2013, 02:05:38 AM
Hi,

 Typically, if an action doesn't fire an event, then you rely on the "FINISH" transition, so in your case, have your action on that state, if the action validates the check, you fire the event, if not, you assume the "FINISH" event when the action did not validate the check.

Yes?

bye,

 Jean
Title: Re: Bool All/None True
Post by: derkoi on October 10, 2013, 06:59:20 AM
Hi,

 Typically, if an action doesn't fire an event, then you rely on the "FINISH" transition, so in your case, have your action on that state, if the action validates the check, you fire the event, if not, you assume the "FINISH" event when the action did not validate the check.

Yes?

bye,

 Jean

And what do you do if you want to wait for all to become false before firing the event?
Title: Re: Bool All/None True
Post by: Lane on October 10, 2013, 08:03:10 AM
Bool None True
Title: Re: Bool All/None True
Post by: derkoi on October 10, 2013, 08:07:38 AM
lol never saw that there!  ::) :P
Title: Re: Bool All/None True
Post by: Lane on October 10, 2013, 08:13:51 AM
Yeah intuition makes you think "All False", but programically its None True.