list-of-breed-towards-with
angle distance [condition]
Parameters:
angle |
Number |
angle from caller |
distance |
Number |
distance from caller |
[condition] |
List of turtle commands |
list of commands that returns true or false |
Description:
Returns a list of all of the turtles of the breed specified distance units away at an angle angle from the caller who also satisfy [condition].
Examples:
set red_cars list-of-cars-towards-with 0 1 [color = red]
will set the variable red_cars
to a list of the who numbers of all of the red turtles of breed cars one unit away and directly in front of the caller.
Related Commands:
list-of-breed-at-with
list-of-breed-here-with
list-of-breed-towards
list-of-turtles-towards-with