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"

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. 

Making Civilian A.I. Crowds Flee from the player using BP's

Im struggling to find any relevant blueprints in order to get my Crowds of A.I. to flee from the player, I had an idea of making a trigger box attached to the player and then when they come into contact they run to certain target points but this wouldn't look real, as when assigning random radius points some may be towards the player. How could I make them all flee together and disperse in a realistic looking fashion?

Product Version: Not Selected
Tags:
more ▼

asked Feb 12 '15 at 01:55 PM in Using UE4

avatar image

Weddy
3 2 3 4

avatar image mirsabayu Feb 12 '15 at 02:39 PM

maybe you had to read more about detoure crowd and things in ue4 ai module, it's doable though, but i don't think it can be done in bp yet...

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

1 answer: sort voted first

There's no single solution to do that. You need to enable crowd simulation for your AI (RVO or Detour - there're many threads explaining how to do that) and implement the logic telling your AI to "run away from player".

Cheers,

--mieszko

more ▼

answered Mar 04 '15 at 10:23 AM

avatar image

MieszkoZ STAFF
7.3k 223 57 412

avatar image Weddy Mar 04 '15 at 12:26 PM

I have realised this and have now created my own crowd simulation with the behaviour tree and blueprints, that flee on danger triggers set off by the player i.e. OnSeeingPlayer, Shooting etc...

(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