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. 

How do I make my AI walk not run

Hi Team! before I get started id like to note that I did do a fair bit of searching around before I came here to ask this question so if it's something super simple, please, be gentle.

I have my AI doing pretty much everything I want except one thing, they have zero chill! They basically sprint everywhere i want them to and although im fairly confident I can just lower their overall movement what id really like is for them to just walk around about their business and only go to sprint when they see me.

Any thoughts on how to go about this would be greatly appreciated, my experience level is like... embryo so use small words please or EILI5 ;)

Product Version: UE 4.19
Tags:
more ▼

asked Jun 06 '18 at 12:09 PM in Using UE4

avatar image

Ma9net
5 1 2 4

avatar image ThompsonN13 Jun 06 '18 at 01:23 PM

the simplest thing would be setting the max walk speed

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

1 answer: sort voted first

You can do this: set your character max walk speed to 100 or 200. Then, the NPCs see you, you have a task node on your Behavior Tree that sets the max walk speed to 400 or 600. When the NPCs stop seeing the player, the max walk speed goes to 100 or 200 again.

more ▼

answered Jun 06 '18 at 01:39 PM

avatar image

Xptohz3_turbo
86 2 3 4

avatar image Ma9net Jun 06 '18 at 10:15 PM

Legend! Cheers for the speedy and helpful response.

(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