If else condition didn't work
so im making a game with pathfinding algorithm. with some npc objects. the problem is when I use multiple npc, the condition that I marked is not working properly, but when I only use 1 npc, the condition runs well. Anyone can help me out? Thank You
ss.jpg
(26.9 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612211940im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
RTS Resource handling and transactions? 0 Answers
My NPC keeps running through hills and floating 0 Answers
Implementing game logic in a separate library: callbacks 1 Answer
Best way for object with many gameObjects 0 Answers
Bezier list<> movement, Logic getting stuck moving to new curve in list with ugly current fix. 0 Answers