Hi, after previous lecture I must have done something wrong. My Enemy units have become lazy! Or they just got scared… Because they are just standing there holding a rifle like they dont care about anything. Even if I shoot first!
This problem accured after the Spinaction part. I doublechecked all the code and can’t seem to find anything wrong. I did deleted the testing gameobject and script. Don’t ask me why haha. So could that be the problem?
I’m stuck now with troops staring at me and they won’t end there turn. Please help!
P.S. love the course
wow…just…wow I finally figured it out whaha! I was simply missing ! in this line of code
if (**!**TurnSystem.Instance.IsPlayerTurn
3 Likes
Heh yup that would do it, good job figuring it out, always be careful with “!”
2 Likes
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.