Nearest Within Steps With =: Difference between revisions
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
<!--T:4--> | <!--T:4--> | ||
<section begin=image/>[[File:Nearest Within Steps With Eq.png|right|alt=Nearest Within Steps With = |thumb]]<section end=image/> | <section begin=image/>[[File:Nearest Within Steps With Eq.png|right|alt=Nearest Within Steps With = |thumb]]<section end=image/> | ||
<code>nearest [Dropdown: Type of Agent](s) within [Textbox: Number] steps with [Dropdown: Type of Trait](s) = [Textbox: Text]</code> | <!-- <code>nearest [Dropdown: Type of Agent](s) within [Textbox: Number] steps with [Dropdown: Type of Trait](s) = [Textbox: Text]</code> --> | ||
Inputs: | |||
#a breed from the first dropdown menu | |||
#a number | |||
==Common Uses== <!--T:5--> | ==Common Uses== <!--T:5--> |
Revision as of 15:51, 21 July 2023
nearest [▼] within [_] steps with [▼] = [_]
is a code block part of the Detection drawer.
Usage
nearest [▼] within [_] steps with [▼] = [_]
is used to refer to the nearest agent of a selected breed AND trait that exists within a given step limit in Spaceland.
Syntax
Inputs:
- a breed from the first dropdown menu
- a number