Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Move to Location returns "Failed"

Hi, I am having a problem with "Move to Location" function called from a custom AI Controller blueprint class. I have a simple class derived from "Character" parent class controlled by a custom AI Controller, which only does a simple call to the "Move to Location" function. Characters that are manually placed in a level nicely move to the target location but characters spawned using the "Spawn AI From Class" function do not move at all. The call to the "Move to Location" function from their AI Controllers returns "Failed". Can anyone tell me what may causes this problem, please? Thank you and feel free to ask further questions :-).

  • "Auto Possess AI" in characters is set to "Placed in World or Spawned"

  • The target location is reachable since manually placed characters move there nicely

Product Version: UE 4.15
more ▼

asked May 07 '17 at 01:08 PM in Blueprint Scripting

avatar image

28 2 3 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

When do you call the Move to Location function? Have you tried adding a Delay node? I'm asking, because for the spawned AI controllers you might be calling it too early, like for example even before they posses the pawn.

Screenshots of the BP in question always helps in answering the question ;)



more ▼

answered May 08 '17 at 01:30 PM

avatar image

MieszkoZ STAFF
7.3k 223 57 412

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question