My branch node wound work

for sum reason my branch node keeps on coming in false even if I know that my var is set to 1
heres my nodes.

This looks like a makeshift EvenTick. Are you checking every 0.2 seconds to see if the player is dead? Also a simple boolean for a isDead variable would be much more efficient if that is the case.

please show all the code where you set IsDead, including name and type of blueprint it is

Yes agreed. IsDead is either true or false, so a boolean is much cleaner. Using a delay loop is also kinda messy, using a timer ideally or less so the tick would be cleaner. Just workflow improvements.

The branch node works fine, so the error is not there, but rather in where that isDead is being set. Can you post that code or double check how it’s set, as Im sure thats where the error lies. A simple way to check this, is just print the isDead value on tick and see what the value is coming out as.

heres the code (I changed it to a boolean)

246072-screen-shot-2018-07-03-at-94101-am.png