World Trait/es: Difference between revisions

From StarLogo Nova Wiki
No edit summary
(Updating to match new version of source page)
Line 10: Line 10:


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
===Syntax===
==Syntax==
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
<code>world trait: [Dropdown: Trait]</code>
<section begin=image/>[[File:World Trait Nums.png|right|alt=The Create Each Do Block|thumb]]<section end=image/>
<!-- <code>world trait: [Dropdown: Trait]</code> -->
Inputs:
#a world trait from dropdown menu
</div>
</div>



Revision as of 19:56, 21 July 2023

Other languages:


World trait

world trait: [▼] is a bloque de código part of the ambiente drawer.

Uso

world trait: [▼] se refiere al valor de un rasgo del mundo seleccionado. Los rasgos mundiales se pueden crear agregando un nuevo rasgo a la raza The World en el administrador de raza (vaya a la pestaña The World y haga clic en el botón Mostrar rasgos. Luego, seleccione "agregar rasgo personalizado"). Esto se puede considerar como una "variable global".

Syntax

The Create Each Do Block

Inputs:

  1. a world trait from dropdown menu

Common Uses

This is used to refer to an aspect of a simulation that affects all parts in scope. All traits attributed to The World will happen to all Agents in the simulation.

Nuances

Related Blocks