This is bit of a noob question but i cant for my life understand how i make kind of an “if” statement here.
Go ahead and ignore enum names, they are just placeholders but the problem itself seems to be that no matter what i do, it always either does everything in order and loops again or dosent complete “wait” node at all.
All i want is simple switch kind of AI that dosent automaticly start looking for you if you die and respawn,
Currently once the behavior is activated (player is seen by enemy) it just stays on and enemys automaticly know where you respawned and keep on hunting.
here is a pic of the actual Enum changer, it’s getting bit confusing to read tho, lower branch is condition for player being dead, and same branch with false also checks that player is not dead before running the behavior