Hi,
I am trying to make a ai that chases multi actors.
So the way I have it set up in behavior tree is, enemy ai move to player when on sight. I want to be able to make the ai move to my ai defender which doesn’t move to me but to,the enemy ai. How can I make the enemy ai move to ai defender and player on sight?
Do another cast after the look at player cast failed?
Okay ill try that
dosent work, answerhub needs to be removed because nobody comes with help now a days,
Nobody comes to help because it can be many problems, drop few screen shots or a video we need to see the code.
its not just screen shots, i posted a question with screen shots one time people still didnt help
It does not change the fact that we can’t help you because there 0 information that we have about your code, the number of problems that you can have with this is huge. Here an example: 1.No nav mesh. 2.No ai controller. 3.Pickachu ate the cupcake. 4.Wrong cast. etc…
if your using a behavior tree then all you need to do is change the key associated with the move to. basically your just telling your character to move to target, you need to just change what target equals.
one way to do this would be to have a script that gets all perceived actors, then then run a check to decide which to move to. for example you could have the check first check for a player character as a first priority, then if no player in the list then run another check to find the perceived actor that is closest.
as for “dosent work, answerhub needs to be removed because nobody comes with help”, as others have stated theres many reasons that people don’t get responses. first theres issues that come from you the poster such as lack of details, poorly written and explained questions, and poor responses (as shown with the likes of “dosent work”). Then theres also the issue of the same questions being asked over and over, it got so bad that some people started making canned answers (pasting in a pre-made response or tutorial link). theres many other issues as well. As for you saying the answerhub needs to be removed, my question would be why? theres a ton of good information on the answerhub and a ton of people have put in a ton of hard work answering questions. so why would you want it removed just because you didn’t get the help you thought you deserved. remember that this is a community site where most of the people answering questions are not paid to do so and receive nothing in return. if you don’t get answers then do what others did in the past: research, try things out, and figure things out on your own.