Ai Move to on KB input?

Hello,

how do I control the AI Move to function with a keyboard input?

To answer your question, yes it is possible to bind the AI Move To function to a KB input.

You would have to know what AI you want it to move to, just get a reference to that actor. And then have it move to said actor.

Without more details on your current system, there’s not much we can do here. I mean, it’s as simple as let’s say, Binding

  • “1” On Pressed to AI Move To “Referenced AI”
  • “2” On Pressed to AI Move To “Another Referenced AI”
  • “3” On Pressed to AI Move To “PlayerCharacter”

etc.

Follow this tutorial if you get lost: WTF Is? AI Move To in Unreal Engine 4 ( UE4 ) - YouTube