I’m trying to learn the basics of Unreal engine.
Actually, I’m doing an AI system, and I would like to make a basic AI that patrol beetwen x points.
I created and setup and AI, and I created a new Task “patrol”.
I added in the map 4 Target Point.
My question is, how do i get those 4 Target Point inside my Patrol Task? How do I pass those x Target Point to a task, so that every AI can have different target point?
In your AI actor click add variable, in variable type search for target point, and make the variable type a target point reference. Add however many you want. Then click the eye symbol beside the variable in the list, this makes it publicly editable.
So now when you place your AI actor in the level, you will be able to see in it’s detail panel all the target point variables, they will say “none” as their value, but if you click the drop down menu, you can select in the list any target points that exist in the map. You can do this per-instance of the AI actor, so they can use different target points.
Thx, I didn’t notice that the editable would show them in the Detail Panel, I thougt it was just here to make those variable modifiable by the blackboard