A similar issue I had in Zombie Shooting range. I made a "KillCountScript" that starts at "5" and want it to go down every time each wizard is killed. I also made an empty game object called "KillCount" that I applied the KillCountScript to.
I added the ChangeScore() line to the WizardHealth script, yet I am unsure if it doesn't work because it shouldn't go there or I am writing it incorrectly. Should I be applying the ChangeScore line to the WizardAI script?
Thank you for your time!
I added the ChangeScore() line to the WizardHealth script, yet I am unsure if it doesn't work because it shouldn't go there or I am writing it incorrectly. Should I be applying the ChangeScore line to the WizardAI script?
Thank you for your time!
Comment