Set World To: Difference between revisions
(Marked this version for translation) |
mNo edit summary |
||
Line 15: | Line 15: | ||
<!--T:3--> | <!--T:3--> | ||
==Syntax== | ==Syntax== | ||
[[File:Set World To Nums.png|right|alt=The Create Each Do Block|thumb]] | |||
<!--<code>set world [Dropdown: Trait Selection] to [Socket: Data]</code> --> | <!--<code>set world [Dropdown: Trait Selection] to [Socket: Data]</code> --> | ||
Inputs: | Inputs: |
Revision as of 19:15, 10 August 2023
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
Inputs:
- a world trait from the dropdown menu
- 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 [_]
.