Playmaker Forum
PlayMaker Updates & Downloads => Share New Actions => Topic started by: Thore on August 15, 2019, 10:31:46 AM
-
Hi, I couldn't find another way to do this, so I made a simple action that checks two bools. If one bool is true and one is false, the condition is met, and it fires one event, and if not, fires another event. Of course, you can use either event or both.
Update: as requested, I adapted a version with any number of bools to check the condition. The basic version is still useful when you need to check just a pair.
Also See:
Bool None True (https://hutonggames.fogbugz.com/default.asp?W471) (not well named, I recreated it as I was looking for an Bool All False)
Bool All True (https://hutonggames.fogbugz.com/default.asp?W469)
-
Hello, this is awesome! ... unbelievable. I needed this like 6 hours ago and made custom logic with bools :D This definitely simplify things!
Thank you!
-
Hi,
I'm glad it's of use :)
-
Love this...Any chance to made it multiple comparison using Size..e.g Size 3 and it can compare 3 like true,true,false. But yours should be good:)
-
Love this...Any chance to made it multiple comparison using Size..e.g Size 3 and it can compare 3 like true,true,false. But yours should be good:)
Okay, I went ahead and made this :)
I attached it at the top.
-
That was quick ;D Contributor like you should earn badges 8)
-
Hi,
the ecosystem already has a lot of similar actions, for example
BoolMultiCondition
(https://i.imgur.com/hE8Hxv4.png)
which is more flexible because you have any number of conditions.
Bye,
Jean