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"

Basic AI mechanics

I've been trying to add two types of AI into unreal, like an ally and a n enemy, which an enemy would stay idle until in your line of sight, then which would decide if it should move or shoot as long as your in its line of sight, and an ally would follow you and decide to move or shoot when it sees an enemy...

But unfortunately I am clueless on how to do this and no other resources seem to have what I'm looking for. Id also prefer to stick to a single character blueprint if that is possible. and I'm also having some slight trouble with using animations with AI. Thanks

Product Version: UE 4.17
Tags:
more ▼

asked Sep 16 '17 at 11:51 PM in Using UE4

avatar image

Jon Mcbane
1

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

1 answer: sort voted first

well theres few ways you can do this, since its a shooting game i think you should use a behavior tree. https://www.youtube.com/watch?v=h0Kb42oCoYg

more ▼

answered Sep 17 '17 at 08:07 PM

avatar image

HeXtion
44 2 5 10

(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