Can Anybody help getting the Bot to move to location

After being helped finding out how to get a certain number to spawn i now need to figure out how to get them to move to a location. I have tried so many different combination but i cannot seem to get it right, even though the process is going through to the simple move node the bot is just not moving anywhere! would be great if anyone could help me out! and i know the bot spawns at the player location but i use this because i just press simulate i don’t actually spawn in the game

Do you have a Nav Mesh?

I have indeed it covers the entire floor

Nothing looks wrong in the bp. Did you place a break point and make sure the target location is valid? On the pawn, it is based on a character so has the move functions?

I created a new character just then and just put the mesh as a standard cube to avoid any problems, so yes it’s currently a character but still no luck

Is your Bot stuck on the Player when it spawns in? It looks like you are spawning in on top of the player’s location.

I am spawning it on the player location yes but i am not spawning in with the game, i am only running simulate while i see if it will work

Hey Calcorso,

This tutorial will help you understand how to create a Bot using the Behavior Tree.

AI Behavior Tree & NavMesh

Peace

How far away or close are the spawn point and the target point? Try spawning at a different location, not based off the player.

I am currently looking at your tuts it’s great for getting what i want i guess although not much is explained ha, but i do have a problem where i cannot see the Call enemy Found like you do in video 3 :confused:

I assume to make it work i need the event to actually do something but i don’t remember you describing it in a video so i am at a loss, i copied the blue 3rd person template character and followed your tuts but he still does not follow me or anything

You have to create the Event Function in the BotCharacter Class, then once you cast it. It will be available from the Pin.

In the tutorial I tell you how you yourself would initialize the attack sequence for your character. I only showed you how to make it communicate from the Tree, to the Bot.

So is your bot not following / chasing you?

nope it’s just standing there like a lost soul, there are so many things working together with this AI that i am not sure what best to take a screenshot of to show

Is it moving through the routes? Well clearly not. It sounds like you haven’t set the BlackboardKeys correctly in the tree. Could you double check that please.

When i check the Tree it was hanging on Root i am unsure why, i checked the data asset and everything matches yours

http://puu.sh/8Mk59.jpg

Seems you don’t have your Service there to select the correct composite.

Can you expand on that a little more because i don’t really understand what that means

Check out this minute in the tutorial. Unreal Engine 4 AI Behavior Tree & NavMesh - Part 5/5 - YouTube

So whats happening is, the root executes the Selector in the middle. The Behavior Tree Service named BTS_botDetectEnemy that I instruct your to create in Part 4 of the series ( Unreal Engine 4 AI Behavior Tree & NavMesh - Part 4/5 - YouTube ) is then setting the Bots state. If it detects an enemy nearby, it searches, then engages. If no enemies are found, then it continues to Patrol. That is the reason I have you add the Behavior Tree Decorators to the Composite Sequence on the left, and the Composite Selector on the right. Without those, neither is selected.

Okay so the enemy found and enemy lost events you did not show how to make etc am i right or just blind? just want to make sure i have not missed it