How Can I make 2 AI to clone eachother?

Hi I’m very new to unreal engine and this world. I was trying to make two AI’s to clone each other and then maybe not clone each other after a certain time period. Is there any way to do this either in blueprints or with coding? If someone could help me that’d be amazing! TIA!

Could we get some more info on what you mean by clone? there is a number of ways to interpret this, and thus a number of different solutions we can point you towards. So what do you expect of the AI’s when their cloned, what does them being cloned mean, like exact copies, or just how they act, etc, and what should they be doing after this ‘certain time period’?

By clone I mean the second AI will do everything the first AI is doing. It’ll go everywhere the first ones going, will jump if the first one jumps.
And I also want it to not do what the first one is doing after a certain time period and have its own mind, do its own thing.

Ok, sort of like a image in a mirror copies you? but at some point it stops?

Interesting concept, there are definitely multiple ways to approach this, you could look into utilizing a synced blackboard and giving one ai a driver behavior tree, and the other a follower style one, but another way would be to look at using a Blueprint Interface and a custom Enumerator blueprint.

sync on blackboard:

interface Concept -
your player controlled actor, or one of the clones would have a reference to the other clone and as it makes movement choices it passes a message to the other blueprint that unpacks and routes its controls to its own movements.

A third option would be to look into an event dispatcher and have a overall puppetmaster Ai that doesn’t have a body, but basically calls out to its puppets (the clones) and gives them all identical orders. once they are acting independently you would need to have them then activate their own ai behavior tree and ignore orders.

Yes! Exactly it will mirror the first AI and then it will stop mirroring and do its own thing!

Hi so I am trying to do what you suggested. I just don’t understand what is a follower style behavior tree and how do I create one?