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