Set World To: Difference between revisions

From StarLogo Nova Wiki
No edit summary
(Marked this version for translation)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
[[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/>'''{{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.


<!--T:2-->
==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>
<p id="tooltip">{{Block|set world [▼] to [_]}} is used to set [[trait]]s of the [[world]] in a similar way to agents.</p>


<!--T:3-->
===Syntax===
===Syntax===
<code>set world [Dropdown: Trait Selection] to [Socket: Data]</code>
<code>set world [Dropdown: Trait Selection] to [Socket: Data]</code>


<!--T:4-->
==Nuances==
==Nuances==
This block is used to soley modify custom [[trait]]s of the [[world]]. The traits of [[agents]] are modified using the {{Block|set my to|set my [▼] to [_]}}.
This block is used to soley modify custom [[trait]]s of the [[world]]. The traits of [[agents]] are modified using the {{Block|set my to|set my [▼] to [_]}}.


<!--T:5-->
==Related Blocks==
==Related Blocks==
*{{Block|world trait|world trait: [▼]}}
*{{Block|world trait|world trait: [▼]}}
</translate>
</translate>

Revision as of 14:43, 27 June 2023

Other languages:
The set world to block

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

set world [Dropdown: Trait Selection] to [Socket: Data]

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