Using EQS in Behavior Trees
I'm looking for a way to incorporate my EQS tests into my Behavior trees but am having a bit of a problem grabbing some of the data related to the character performing the test. I have made my variable in the EQS test able to be set via a named value, Specifically Team.
But when I go to actually use the test in a behavior tree, It expects a literal value. Is it possible to set this to a blackboard value or call the eqs test from within another task or service? Assuming this is even possible, Would I have to create a custom generator to pass a blackboard value to the ActorsOfClass generator? Specifically Radius so I can set it to the AI's vision radius?
As an addition to this is it possible to call this EQS call as a service rather than a task? My task is specifically looking for enemies within range and choosing the closest one so having it as a "background process" would be best as it would allow targets to be updated every 0.5 seconds or so as well as allowing path-finding weights to be adjusted at the same time in case an ally is blocking the path (assuming the PathLength from querier test includes avoidance).
asked Dec 10 '14 at 08:59 PM in C++ Programming
If you need team information while performing test why not grab it directly from the querier during the actual
Reading AI senses properties, blackboard values and what not will be possible with EQS' upcoming change.
Regarding running EQS queries in a Service rather than a task, sure you can do that, but you'll need to implement that service yourself. Or wait for us to do it (should be really easy, I might be able to squeeze it in soon).
answered Dec 10 '14 at 09:06 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here