Dispersar Todos
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