top of page
Search

The Attacking For AI

  • Writer: christian chinchilla
    christian chinchilla
  • Apr 6, 2021
  • 1 min read

So the main problem I have been facing has been making the enemy attack the player at a certain distance. And everything that I have been trying seemed to confuse me more. Mainly because no matter what it was that I did the AI would never respond well with the code or the behavior tree. Telling me that it couldn't find the task because it was never finding the task to be true therefore never actually doing the task. So I kept looking online and seeing if I missed anything or if there was anything that could help me understand why it wasn't doing the task. But then I saw that well more like heard in a video was something called a service. and it turns out that the service is what actually conducts the check to see if the AI is close to the player. So that was put inside of the game now but the only problem that it seems I have with the service is just understood the video that teaches me how to make it attack by breaking down a blueprint into code. In the end, though I do have everything I need inside of the game to make this task work hopefully around the end of this week with the help of my teammates if need be.

 
 
 

Recent Posts

See All
We learn from Our Mistakes

This was the final week of working on this project. I primarily try to fix the problem we had with saving from last week. Due to time...

 
 
 
Would You Like to Continue?

This was our final week to add anything new to the game. One thing we tried before but couldn't really figure out at the time was saving...

 
 
 
Going Code Blind

Finding and fixing bugs is a part of programming, and some bugs are very troublesome to find the root of their cause. Often times I find...

 
 
 

Comments


Post: Blog2_Post
  • Facebook
  • Twitter
  • LinkedIn

©2021 by C monkey. Proudly created with Wix.com

bottom of page