Blueprint >= 1 returns true when Zero

How is this possible?
First i toght it was the AND operator so used to Branche`s.
Same Results.

Save the value to a variable when it is to be used it in more than one place.

Try it and let us know what happens.

2 Likes

Pezzott1 is correct but to expand on what they are saying the function gets called twice and returns different values

2 Likes

In 5.5, you also now have the option of right clicking on the ‘Random Integer’ node and selecting ‘Show Exec Pins’. This will give it Exec pins that you can hook into the flow properly and the node will only be executed once, regardless of the number of times the output pin is connected to inputs.

4 Likes

You are correct it was called more then once so Exec was the solution.

Sorry for late response.

2 Likes