I want to create an identical copy of the “move to” AI task, so I can modify it with more variables to make things simpler on myself. But apparently, there’s something going on under the hood of the “Move to” task that I don’t fully understand, because none of my attempts to recreate it work. Can someone show me what an exact reproduction of the default “move to” task looks like? Thanks.
Hi, if you want to know how it looks inside you can/need to look at the source code (which you have access to if you use unreal engine). But basically it calls MoveTo on the AIController using FAIMoveRequest which contains the params (both not exposed to blueprint).
If you want to do that from blueprint then you can use MoveToLocation or MoveToActor (called on the AIController). So if you would want to “recreate” the MoveTo task, then you can make your own task that calls MoveToLocation / MoveToActor
Thanks. It turns out I was using the wrong movement command. MovetoLocationorActor fixed it.