Create: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<languages/> | |||
<translate> | |||
[[Category:Agents]] | [[Category:Agents]] | ||
<section begin=image/>[[File:Create Block.png|alt=The create block|thumb]]<section end=image/> | <section begin=image/>[[File:Create Block.png|alt=The create block|thumb]]<section end=image/> | ||
Line 24: | Line 27: | ||
==Relevant Activities== | ==Relevant Activities== | ||
[[Category:Code Block]] | [[Category:Code Block]] | ||
</translate> |
Revision as of 14:01, 16 March 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.