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"

How would i make a bot that checks every room in a house for the player?

Hey guys. Getting right into it, I'm looking to have a single bot that will go through the level in search of the player. I've been toying with a few ideas of how I'd go about it but like all things, it's always good to get a second pair of eyes on the problem.

As of right now, I've got the basic follow behaviour tree. I'm thinking I could have it to different points that would represent each room, and then check through the space around it. Should I even be using the behaviour tree? Would a simple function suffice? I also want to be able to run away, break line of sight and hide. I realize I might be asking a bit much so any help is greatly appreciated. Just need something to get me started and nudge me in the right direction.

Thanks in advance!

Product Version: UE 4.8
Tags:
more ▼

asked Aug 30 '15 at 07:35 PM in Blueprint Scripting

avatar image

Phlux
44 15 19 25

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

1 answer: sort voted first

https://www.youtube.com/playlist?list=PL3hM7_RDaHMz0umAPdszT172uhZTFuP94

This series have all of your answers. You'll create a waypoint system like that(multiple waypoints are explained after Mob AI Part 1) and then place those waypoints in every room. And pawnsense will check if the player is on sight.

more ▼

answered Aug 30 '15 at 07:55 PM

avatar image

Jacky
16.8k 671 167 677

(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