AI replying to AI
More blueprint questions! OK, I have managed to get AI playing sounds simultaneously with help from others, but how do get AI to play a sound, after another AI said something, basically saying how to get AI replying to each other. Like one guy says "Clear!" another guy says "OK, Go!".
asked Aug 07 '14 at 03:13 AM in Blueprint Scripting
The way I prefer to solve this problem is by having a kind of "Chatter Manager" that among many things would allow an AI to direct a vocal message towards another AI individual or a group and make sure there's not too much chatter going on at one time.
Having said that, there's no such thing in the engine just yet. We might want to add it to (slowly) upcoming "Character AI module"
answered Aug 07 '14 at 12:19 PM
There's several ways to do it, in a lot of games there is a certain amount of faking done. While a simation it might be interesting for each AI Bot to be autonomous and process each thing it hears individually it might not be the best thing for your game.
It might be better for a squad leader to make the other members of the squad bark the way it wants, for that it can keep a reference to each bot in its squad and then call a bark on the one it wants to respond as it fires it's own bark. You could call a function that takes a variable in to set a timer on to then play the response.
A lot if game AI is making the player thing the bit is smart, it's not necessarily making he not smart.
Anyway there's lots of ways. What way is best for your game is depends on your design and overs goals for it .
answered Aug 07 '14 at 04:43 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here