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 ;)
asked Jun 06 '18 at 12:09 PM in Using UE4
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.
answered Jun 06 '18 at 01:39 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here