Scatter Everyone/es: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
'''<code>scatter everyone</code>'''<section end=name/> is a [[code block]] part of the [[agents]] drawer. | {{#vardefine:ScatterEveryone|<code>scatter everyone</code>}}<section begin=name/>'''<code>scatter everyone</code>'''<section end=name/> is a [[code block]] part of the [[agents]] drawer. | ||
</div> | </div> | ||
== Uso == | == Uso == | ||
<p id="tooltip"><code>dispersar todos</code> se utiliza para dispersar a todos los agentes en [[SpaceLand]] a ubicaciones aleatorias.</p> | <p id="tooltip"><code>dispersar todos</code> se utiliza para dispersar a todos los agentes en [[SpaceLand]] a ubicaciones aleatorias.</p> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
<strong>Note:</strong> if this block is used in an breed tab where more than one agent of that breed exists, each individual agent of this breed will scatter everyone once. For example, if there are five agents of the breed, everyone will be scattered 5 times as each individual agent runs the code. | |||
</div> | |||
<span id="Syntax"></span> | <span id="Syntax"></span> | ||
Line 17: | Line 21: | ||
<code>(in reference to every agent)Eliminar todos</code> | <code>(in reference to every agent)Eliminar todos</code> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
==Example== | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
[[File:scatter_everyone_example.gif|alt=Scatter Everyone example gif|thumb]] | |||
[[File:scatter_everyone_example.png|alt=Scatter Everyone example code|thumb]] | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
The scatter everyone block scatters all agents in spaceland by assigning each one random x and y coordinates. If this block is called by The World, all agents are scattered once. | |||
</div> | |||
==Para tener en cuenta== | ==Para tener en cuenta== |
Latest revision as of 18:51, 11 August 2023
dispersar todos
es un bloque de código parte de agentes cajón.
scatter everyone
is a code block part of the agents drawer.
Uso
dispersar todos
se utiliza para dispersar a todos los agentes en SpaceLand a ubicaciones aleatorias.
Note: if this block is used in an breed tab where more than one agent of that breed exists, each individual agent of this breed will scatter everyone once. For example, if there are five agents of the breed, everyone will be scattered 5 times as each individual agent runs the code.
Sintaxis
(in reference to every agent)Eliminar todos
Example
The scatter everyone block scatters all agents in spaceland by assigning each one random x and y coordinates. If this block is called by The World, all agents are scattered once.
Para tener en cuenta
Una diferencia importante entre dispersar todos
y dispersar
es eso dispersar
dispersa sólo los agentes adjuntos a la dispersar
bloquear. Dispersar todos
dispersa a todos los agentes en SpaceLand.
Bloques relacionados