Health component confusion


Author: Aaronn Solomon

11/24/2023


The Problem

I wanted to create a health bar to tell the player the integrity of the mech. As I was writing my code, I noticed that there were multiple errors in the code after pulling another team member's scripts. Apparently, they had changed their code for tracking health and I didn't know.


The Solution

It turns out I had to change my code to use the new health component that they had made. There was also no function to track the current health of the mech, so I had to ask that member to make one. After all of that, the errors finally went away.