Reputation: 35
i wont to know what neighbors are occupied from other turtles, in general terms i wont to know what patches are occupied in-radius from the turtles patch. Better if i can create a list of them or similar to verify what of this are occupied or no. Some suggestion? thanks
Upvotes: 0
Views: 260
Reputation: 12580
For the 8 neighboring patches: neighbors with [ any? turtles-here ]
For patches in a radius: patches in-radius x with [ any? turtles-here ]
Upvotes: 1