Target Variable is reset at start the game

Jorgefo

New member
Hi

When i try the AI agent default behavior designer, i set the variable Target with my target objet but when i try start the game the agent dont search any target.

I think the problem is the Default behavior designer reset the variable at start the game

I set variable
1619969095421.png

And when i start the game
1619969156519.png

1619969507710.png

I miss any step configuration?
 
The behavior tree tasks will select the target for you so you should not set the target manually. I recommend going through this page which explain in detail what all of the tasks do:

 
The behavior tree tasks will select the target for you so you should not set the target manually. I recommend going through this page which explain in detail what all of the tasks do:

sorry but I dont find any information about how determine the target, or if i need to setup any option in my target to the behavior designer.
 
Found my problem, I don't setup a layer for enemies in Agent

Video ( i found this video about how to setup the asset )

Note: please add this video in the doc about Deathmatch AI Kit
 
Ah, now I see what was happening! I'll link to that video - thanks for posting the followup.
 
Top