Create/en: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 11: | Line 11: | ||
<p id="tooltip"><code>create [_] [▼](s)</code> is used to populate [[Special:MyLanguage/Spaceland|Spaceland]] with [[Special:MyLanguage/Agent|agent]]s.</p> | <p id="tooltip"><code>create [_] [▼](s)</code> is used to populate [[Special:MyLanguage/Spaceland|Spaceland]] with [[Special:MyLanguage/Agent|agent]]s.</p> | ||
==Syntax== | |||
<section begin=image/>[[File:Create Nums Es.png|right|alt=The Create Each Do Block|thumb]]<section end=image/> | |||
<code> create [Textbox: Number] [Dropdown: Type of Agent](s) </code> | <code> create [Textbox: Number] [Dropdown: Type of Agent](s) </code> | ||
<br> | |||
==Nuances== | ==Nuances== |
Revision as of 15:20, 21 July 2023
create [_] [▼](s)
is a code block part of the agents drawer.
Usage
create [_] [▼](s)
is used to populate Spaceland with agents.
Syntax
create [Textbox: Number] [Dropdown: Type of Agent](s)
Nuances
An important difference between create [_] [▼](s)
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. create [_] [▼](s)
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.