If i have a soldier standing on a grid. and i want to move him.. but his move is limited for radius of 4 squares.
how can I highlight the squares in the radius?
and how can I check if 1 of my soldiers is standing in some1 else's radius?
Printable View
If i have a soldier standing on a grid. and i want to move him.. but his move is limited for radius of 4 squares.
how can I highlight the squares in the radius?
and how can I check if 1 of my soldiers is standing in some1 else's radius?
Use the array object.
You can start a fast loop to create blocks around the soldier, then check to see if they are overlapping anything else.
---EDIT---
I made a quick example to show the basic concept of what I am saying.
Example