Sabretooth
New Member
- Reaction score
- 0
Heya!
So i'm currently working on a project i call Ancient vs Undead based on the popular mini-game Plants vs Zombies
Basic plot:
Zombies spawn - Zombies walk down their lane - You kill sombies by constructing towers and walls that will stop them from destroying your farm.
This is my first REAL project and everything have worked out fine... until now.
Problem:
I want my towers to only attack the zombies on their own lane.
At the moment, towers do attack closest zombie and dosen't care if it is on its own lane or not.
I can't solve this problem on my own, so i ask you for help. Do you have a tip or a solution?
Please and thank you
So i'm currently working on a project i call Ancient vs Undead based on the popular mini-game Plants vs Zombies
Basic plot:
Zombies spawn - Zombies walk down their lane - You kill sombies by constructing towers and walls that will stop them from destroying your farm.
This is my first REAL project and everything have worked out fine... until now.
Problem:
I want my towers to only attack the zombies on their own lane.
At the moment, towers do attack closest zombie and dosen't care if it is on its own lane or not.
I can't solve this problem on my own, so i ask you for help. Do you have a tip or a solution?
Please and thank you