Branch not working?

Zingy1914
Tue, 23 Jul 2019 15:36:06 +0000
Blueprint

Im having an issue with using a branch…

im generating a random number in a trigger box. (no trigger is being used, just standard event tick for the moment.)
if the random number is <= 50 then it =true. otherwise = false.
if true print string “Hello”. if false print string “Boolean result” + “random number generated”. (Image provided below)

This is the result of the event tick. some weird things are happening. you can see the false branch printing true with a numbers <=50 when it should be using the true branch. as well as the false branch also printing false with a number <=50 which should be true. some ticks work correctly but some dont. not sure why.

i tried using different random number generators for ints and floats, neither changed anything.

4 posts - 1 participant