So i followed the lesson and everything seems to be working fine. But there’s one small problem - if I click on a guard, my character will still try to move to the guards position. I tried to disable the Fighter componenet as well, but it doesn’t seem to change anything since the player was still told to go to a location via the Mover Componenet’s’ Move() method, and therefore the ActionScheduler isn’t catching/stopping it.
Currently, I’m fixing this by setting
player.GetComponent().SetDestination(player.transform.position);
to make the player’s current position the destination, and to stop movement. This feels a little weird though and it’s yet another dependancy that CinematicCojtrolRemover needs. Is this ok? Or is there a better way?