Create: Difference between revisions

From StarLogo Nova Wiki
No edit summary
No edit summary
Line 14: Line 14:


<translate>
<translate>
<p id="tooltip"><code>create [_] [▼](s)</code> is used to populate [[Special:MyLanguage/Spaceland]] with [[Special:MyLanguage/agent]]s.</p>
<p id="tooltip"><code>create [_] [▼](s)</code> is used to populate [[Special:MyLanguage/Spaceland]] with [[Special:MyLanguage/Agent|agent]]s.</p>
</translate>
</translate>



Revision as of 19:12, 16 May 2023

Other languages:


Special:MyLanguage/Category:Agents

The create block

create [_] [▼](s) is a Special:MyLanguage/code block part of the Special:MyLanguage/agents drawer.

Usage

create [_] [▼](s) is used to populate Special:MyLanguage/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 Special:MyLanguage/agent that is created. create [_] [▼](s) only creates agents with the default Special:MyLanguage/traits in the center of Special:MyLanguage/Spaceland.

create [_] [▼](s) each do can be useful for Special:MyLanguage/randomizing traits and Special:MyLanguage/scattering agents without effecting others.

Related Blocks

Relevant Video Resources

Relevant Activities

Special:MyLanguage/Category:Code Block