Set World To/en: Difference between revisions

From StarLogo Nova Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 3: Line 3:
[[Category:Environment]]
[[Category:Environment]]
<section begin=image/>[[File:Set World To Block.png|alt=The set world to block|thumb]]<section end=image/>
<section begin=image/>[[File:Set World To Block.png|alt=The set world to block|thumb]]<section end=image/>
<section begin=name/><p id="tooltip">Sets the value of a selected world trait. World traits can be created by adding a new trait to the World breed in the breed manager.</p>
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin=name/>'''{{Block|set world [▼] to [_]}}'''<section end=name/> is a [[code block]] part of the [[Environment]] drawer.
<section begin=name/>'''{{Block|set world [▼] to [_]}}'''<section end=name/> is a [[code block]] part of the [[Environment]] drawer.
</div>


==Usage==
==Usage==
<p id="tooltip">{{Block|set world [▼] to [_]}} is used to set [[trait]]s of the [[world]] in a similar way to agents.</p>
{{Block|set world [▼] to [_]}} is used to set [[trait]]s of the [[world]] in a similar way to agents.


==Syntax==
==Syntax==

Revision as of 14:58, 8 August 2023

Other languages:
The set world to block

Sets the value of a selected world trait. World traits can be created by adding a new trait to the World breed in the breed manager.

set world [▼] to [_] is a code block part of the Environment drawer.

Usage

set world [▼] to [_] is used to set traits of the world in a similar way to agents.

Syntax

The Create Each Do Block

Inputs:

  1. a world trait from the dropdown menu
  2. a number

Nuances

This block is used to soley modify custom traits of the world. The traits of agents are modified using the set my [▼] to [_].

Related Blocks