top of page

Work Experience Journal - Day 16

  • Jan 29, 2019
  • 1 min read

I started work on the simple AI to figure out what is wrong with my AI. An issue I had with my simple AI is that it would claim the same spot every time after it had just unclaimed it. I fixed it by attaching the blueprints that call to the locator array from "for each loop with break" to the "current locator" variable.

Simple Locator AI

Now I need to figure out how to make the AI choose locators need the player. I can only think of 2 ways: 1. Adding a huge sphere to the locator so the AI always has a locator to go to or a small sphere so that the AI if it has nowhere to go roams. 2. The AI places a sphere on a locator to see if the player is near by.

This is helping me get used to blueprints that i'm unfamiliar with such as the "for each loop with break" and arrays. this will all be beneficial in the future when I create games as an indie developer.

Harvard Referencing

Sarter, R (2019) All images; 29 January 2019


 
 
 

Comments


bottom of page