Create/es: Difference between revisions
(Created page with "==Recursos en video relevantes==") |
(Created page with "Una diferencia importante entre {{#var:create}} and {{#vardefineecho:cedol|<code>create [_] [▼](s) each do</code>}} is that {{#vardefineecho:cedo|<code>create [_] [▼](s) each do</code>}} allows a section of code to run individually for each agent that is created. {{#var:create}} only creates agents with the default traits in the center of Spaceland.") |
||
Line 15: | Line 15: | ||
==Para tener en cuenta== | ==Para tener en cuenta== | ||
Una diferencia importante entre {{#var:create}} and {{#vardefineecho:cedol|<code>[[Create Each Do|create [_] [▼](s) each do</code>]]}} is that {{#vardefineecho:cedo|<code>create [_] [▼](s) each do</code>}} allows a section of code to run individually for each [[agent]] that is created. {{#var:create}} only creates agents with the default [[trait]]s in the center of [[Spaceland]]. | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> |
Revision as of 14:33, 16 June 2023
testing purposes
testing purposes again
Sintaxis
create [Textbox: Number] [Dropdown: Type of Agent](s)
Para tener en cuenta
Una diferencia importante entre and create [_] [▼](s) each do
is that create [_] [▼](s) each do
allows a section of code to run individually for each agent that is created. only creates agents with the default traits in the center of Spaceland.
create [_] [▼](s) each do
can be useful for randomizing traits and scattering agents without effecting others.
Bloques relacionados