You guys may think that this is an old problem, but i tried many solutions. Here is the problem
I have a NPC that is running toward a goal (EnemyBase1) with “Simple Move to Actor” with the Event Tick, like the image below, with a boolean variable to cut it off when needed:
But then he sees a target on the way to there (using Pawn sensing) and it set the boolean that is on the Event Tick Branch, so he could forget that main goal and go after target.
The thing is, he is not stoping the EventTick code when i set the “SawTarget” variable, cant seem to know why. Any hint? There is a mistake there that i can’t find? Would apreciate any help.