Logic Error: Gate not opening for condition

I am trying to make it so that every time the user clicks on the collision cube, the count will go up by one. Once the count reaches a certain variable, which is defined earlier in the logic, the gate should open and print the text. However none of that is happening. When I reach the required input value, nothing happens. Can anyone explain where the logic is incorrect, please?

Are you doing anything to fire the Open input on the gate node? For testing purposes try just hooking up Event Tick to the gates Enter. If you want it to fire from the same logic that adds to the count, try a sequence node.

I assume you used the Event Tick fix, try the other one I mentioned. That way when you exit the box you first add 1 to count, then you open the gate if count = whatever you want, then you enter the gate. This will only happen once since the next time you exit the box count will be 1 greater than the value you want. Add a sequence node, it should explain itself.

YES! Thank you, that worked. Absolute legend.

However, it does just keep printing the result over and over once the branch is true. Is there a way to only have it fire once, after the condition is true? Thanks.

I don’t really understand what to do, can you explain it a bit better? Where do I put the sequence node exactly?

When you compare “Count” to “Var 3” put a sequence node after the “True”, then from the “Then 0” output go to the gates “Open”, from “Then 1” got to the gates “Enter”, that should do the trick.

That worked wonders. Actually a god among men, thanks mate.