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"

AI character will not move

I've scoured the net and this answers page for a solution to my problem and nothing seems to work. I have an AI character set up to chase the player if they enter its line of sight. At the moment, it will continuously face them but cannot move to them. I have a navmesh set up properly, everything that has to do with the AI is set moveable, all of the character movement settings are correct, along with collision settings. I've attached screenshots of my AI scripts and of the level with the navmesh visible, play log here. I noticed a message in the log saying "[304]LogBlueprintUserMessages:Warning: SetTimer passed a bad function (None) or object (FirstPersonCharacter_C_0)" if that helps. alt text alt text alt text

Product Version: UE 4.12
aiscript.jpg (642.9 kB)
aicontroller.jpg (713.4 kB)
navmesh.jpg (1.1 MB)
scp087.log (114.7 kB)
more ▼

asked Jan 03 '17 at 06:30 AM in Using UE4

avatar image

23 3 5 9

avatar image erik321123 Jan 08 '17 at 11:39 AM

Does your cast succeed?

avatar image Aethryx Jan 08 '17 at 03:22 PM

I actually got it to work, forgot to close this! Thanks for the response though!

avatar image Chef_Seth Apr 14 '18 at 02:53 AM

How did you get it to work? I have a similar problem, everything is set up properly as far as I can tell, my AI even used to work up until an hour or two ago. Perhaps the same problem is happening

avatar image Aethryx Apr 14 '18 at 03:02 AM

I actually don't remember because of how much time has passed, but I might be able to diagnose the issue with a quick look at your blueprints!

avatar image Chef_Seth Apr 14 '18 at 06:12 AM

Well it's definitely not my blueprint, making a completely new enemy has it all back to working like normal, even with the same AI controller, Behavior Tree, blueprint, etc. The problem seems to be that the enemies are always in a falling state and they don't have a "base" according to the AI Debug printout. I don't know what that means, why that would happen, or how to fix it though, any ideas? Here's a screenshot of the debug alt text

aidebug.png (324.5 kB)
avatar image Aethryx Apr 14 '18 at 10:17 AM

I've never used behavior trees myself or used debugs like this personally, but if you're using someone else's blueprint it's important to make sure that their setup is compatible with yours and remember that it may not always work with your build. Without the actual blueprints/settings and information about your pawn it's hard to say for sure what the problem is

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

0 answers: sort voted first
Be the first one to answer this question
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