Nearest Within Steps/es: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
<span id="Syntax"></span> | <span id="Syntax"></span> | ||
==Sintaxis== | ==Sintaxis== | ||
[[File:Nearest Within Steps Es.png|right|alt=The Create Each Do Block|thumb]] | |||
Entradas en este bloque: | Entradas en este bloque: | ||
#una raza del menú desplegable | #una raza del menú desplegable | ||
Line 23: | Line 21: | ||
<!-- <code>[Dropdown: Type of Agent](s) más cerca a distancia [Textbox: Number] pasos</code> --> | <!-- <code>[Dropdown: Type of Agent](s) más cerca a distancia [Textbox: Number] pasos</code> --> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
==Example== | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
[[File:nearest_within_steps_example.gif|alt=Nearest Within Steps example gif|thumb]] | |||
[[File:face_towards_example.png|alt=Nearest Within Steps example code|thumb]] | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
This is a model of a grazing herd of elephants. Because the elephants want to acquire the most food possible, they walk toward the grass that is closest to them within their sensing radius (30 steps). | |||
</div> | |||
<span id="Common_Uses"></span> | <span id="Common_Uses"></span> |
Latest revision as of 15:38, 16 August 2023
Más cercano [▼] dentro [_] de pasos
es un bloque de código parte de Detección cajón.
nearest [▼] within [_] steps
is a code block part of the Detection drawer.
Uso
Más cercano [▼] dentro [_] de pasos
se utiliza para proporcionar el número de agentes de una raza seleccionada que existen dentro de un determinado paso límite en Spaceland.
Sintaxis
Entradas en este bloque:
- una raza del menú desplegable
- un número
Example
This is a model of a grazing herd of elephants. Because the elephants want to acquire the most food possible, they walk toward the grass that is closest to them within their sensing radius (30 steps).
Usos Comunes