Hey Guys! I’m very new to this engine, and have gotten pretty far with the level design and really basic AI. But I was wondering if there was any possible way to make a group of Pawns spawn around the player withthe a circle-ish pattern; and teleport right around the player once again when the player is far enough? And please note that I’m really dopey when it comes to programming and AI. Thank you all so much for reading over this question.
What you want to do is use the EQS system, you can configure a solution many ways.
I recommend you have each AI unit run a query that will generate them a Vector position.
Once this is set on the blackboard you can use a task to perform the teleport.
The query could be configured many different ways, one approach would be to simply generate points around the players context at a given range, this may be prone to issues with them overlapping positions on the teleport if you teleport them all in at once.
Thanks for this very informative post. I’m very glad to see that I at least now what to research more about. But I have a few questions about it if you don’t mind me asking.
How do you generate a vector point? Around the player at that as well?
And what node should I use for them?
If you create a context blueprint for the EQS system that uses the player, you would then specify that as the context used for the query being run by the AI.
What this will do, is provide a set of vector positions one for each player in the scene. From there you can determine which position around the player would be best in your conditions.
Read closely here on this page the portion of Context. It has some images and a decent example.
Also do not forget to make use of this tool:
EQS Testing Pawn