Hello all! So recently my friend has been developing a game and has run into a problem with the antagonists’ artificial intelligence. The antagonist would go to said location with no problem, however it would not leave. Here is some screenshots of the coding if this could help:
To whomever could find a solution to this issue, we appreciate it very much!
1 - Setlocationactor is not progressively moving an actor move the actor instantly to the specified location… for this to happen your actor should be be set to “moveable”. you can read about actor mobility here . if your actor is not set to moveable you should get warning in the log window
2 - You should check the “return value” ( the red pin ), in case the change of the location happened it should be true. But I suggest you to use MoveToLocation instead. this is design especially for AIControllers. you can read more about it here