Hi, im creating a Blueprint based AI, meaning i´m not using any BT, everything works perfect, but i canot cancel “AI Move To” once it started, the only way to stop it, is when itself causes “on succes” or “fail”, and i want to hit the AI with a freeze bullet, but it only works if the AI is on succes, not moving; if i do it while moving it continues walking until “on success” or “fail” happens and then i freezes, how can i stop “AI Move To” node while still working?
You can get the CharacterMovement component and drag some nodes out of it.
I’m not sure if StopActiveMovement will work with AI.
If you use DisableMovement, that completely turns off the CharacterMovement. (It basically sets the MovementMode to None.)
You’ll then have to use SetMovementMode and pick a mode (e.g. Walking) in order to re-enable the character movement.
Another thing that even works better, is to stop the tick (enable tick to false), as you do, the character will stop moving, then, when it has to move, you restart the tick.