Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Merto on December 16, 2014, 01:20:41 PM

Title: Two int compare [SOLVED]
Post by: Merto on December 16, 2014, 01:20:41 PM
Hey, I have a situation where I should compare two integer's value and if both of those integers are equal to 2 it would fire off an event. If only one of them is equal to 2, it wouldn't fire off the event.

Is there a way to do this with Playmaker?
Title: Re: Two int compare
Post by: Lane on December 16, 2014, 01:34:38 PM
I would use the Conditional Expression.

http://hutonggames.com/playmakerforum/index.php?topic=7337.0
Title: Re: Two int compare
Post by: Merto on December 16, 2014, 01:53:25 PM
I actually downloaded that a while back, but haven't tried it yet. I should really start using it! Anyway, I solved it with this (a bit hackish) thing:

(http://i.imgur.com/3zg40dI.png)