x

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 not performing most actions upon character referencing player controller.

I am currently using UE4 for making a simple game to learn the engine. In this game I have created a simple AI that that performs actions such as moving in a nav mesh randomly, can sense the player and follows the player on sight, or when the player shoots the AI. It's final, most important task is to shoot the player. Everything was working fine until I implemented a character selection system. This was done by referencing the the player controller through a button on a chac select widget. alt textThe Ai won't perform most actions now, only occasionally rotating. This is not rotating to face the player, but just random rotations. I have experimented by replacing different nodes and trying many different things, but nothing appears to work. If someone could review my code and the project file (Which I have linked in two different files) I would be eternally grateful. Thank you! Tutorials I used: https://www.youtube.com/watch?v=RTha7Vi-1CI https://www.youtube.com/watch?v=axKnZxyNSp8 Files: https://answers.unrealengine.com/storage/temp/267163-uehelppics.zip https://drive.google.com/open?id=1VzVFEiiYSWR2ezd4FA44X4JODqXRc5AJ

[2]: /storage/temp/267163-uehelppics.zip

Product Version: UE 4.21
Tags:
capture.png (183.6 kB)
uehelppics.zip (1.1 MB)
more ▼

asked Jan 31 '19 at 05:09 PM in Blueprint Scripting

avatar image

Apeii05
1 1 1

(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