Terrain Color/es: Difference between revisions
No edit summary |
(Updating to match new version of source page) |
||
Line 5: | Line 5: | ||
<section end=image/> | <section end=image/> | ||
<section begin="name" />'''<code>terrain color</code>'''<section end="name" /> is a [[Special:MyLanguage/code block|bloque de código]] part of the [[Special:MyLanguage/Environment|ambiente]] drawer. | <section begin="name" />'''<code>terrain color</code>'''<section end="name" /> is a [[Special:MyLanguage/code block|bloque de código]] part of the [[Special:MyLanguage/Environment|ambiente]] drawer. | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
<section begin="name" />'''<code>terrain color</code>'''<section end="name" /> is a [[code block]] part of the [[Environment]] drawer. | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
== Usage== | == Usage== | ||
<code>terrain color</code> refers to the color of the terrain that the [[agent]] is currently on. | |||
</div> | </div> | ||
Revision as of 14:58, 8 August 2023
terrain color
is a bloque de código part of the ambiente drawer.
terrain color
is a code block part of the Environment drawer.
Usage
terrain color
refers to the color of the terrain that the agent is currently on.
Syntax
[Textbox Insert] terrain color
Common Uses
This is commonly used as part of a conditional statement: for example, if an agent's color matches the color of the terrain, then the agent should perform a certain action.