Delete Agent/es: Difference between revisions

From StarLogo Nova Wiki
(Created page with "==Related Blocks== *<code>eliminar</code> *<code>eliminar todos</code>")
(Updating to match new version of source page)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
[[Category:Agentes]]
[[Category:Agentes]]
<section begin="image" />[[File:Delete Agent.png|alt=The delete agent block|thumb]]<section end="image"/>
<section begin="image" />[[File:EliminarAgente.png|alt=el bloque del agente de eliminación|thumb]]<section end="image"/>


<section begin="name" />'''<code>eliminar agente [_]</code>'''<section end="name" /> is a [[Special:MyLanguage/Code Block|code block]] part of the [[Special:MyLanguage/Agents|agentes]] drawer.
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="name" />'''<code>delete agent [_]</code>'''<section end="name" /> is a [[Special:MyLanguage/Code Block|code block]] part of the [[Special:MyLanguage/Agent|agents]] drawer.
</div>


<span id="Usage"></span>
<span id="Usage"></span>
==Uso==
==Uso==


<p id="tooltip"><code> eliminar agente [_]</code> se utiliza para eliminar un determinado [[Special:MyLanguage/Agents|agente]] de[[Special:MyLanguage/Spaceland|Spaceland]].</p>
<p id="tooltip"><code> eliminar agente [_]</code> se utiliza para eliminar un determinado [[Special:MyLanguage/Agents|agente]] de [[Special:MyLanguage/Spaceland|Spaceland]].</p>


<span id="Syntax"></span>
==Sintaxis==
===Sintaxis===


[[File:Delete Agent Nums Es.png|right]]
<code>eliminar agente [Special: Agent Reference]</code>
<code>eliminar agente [Special: Agent Reference]</code>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Example==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
[[File:delete_agent_example.gif|alt=Delete Agent example gif|thumb]]
[[File:delete_agent_example.png|alt=Delete Agent example code|thumb]]
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
When a red block collides with a blue block, from the red block’s perspective the blue block is the collidee.  Following a collision, the delete agent block allows for the red block to delete the blue block.  This organization mirrors the physical behavior of how the predator eats the prey.
</div>


==Related Blocks==
==Related Blocks==
*<code>[[Special:MyLanguage/Delete|eliminar]]</code>
*<code>[[Special:MyLanguage/Delete|eliminar]]</code>
*<code>[[Special:MyLanguage/Delete Everyone|eliminar todos]]</code>
*<code>[[Special:MyLanguage/Delete Everyone|eliminar todos]]</code>
<strong>Note:</strong> Using the me block inside delete agent will produce the same behavior as using the delete block, which makes any agent following the instructions delete itself.

Latest revision as of 18:56, 11 August 2023

Other languages:
el bloque del agente de eliminación

delete agent [_] is a code block part of the agents drawer.

Uso

eliminar agente [_] se utiliza para eliminar un determinado agente de Spaceland.

Sintaxis

Delete Agent Nums Es.png

eliminar agente [Special: Agent Reference]

Example

Delete Agent example gif
Delete Agent example code

When a red block collides with a blue block, from the red block’s perspective the blue block is the collidee. Following a collision, the delete agent block allows for the red block to delete the blue block. This organization mirrors the physical behavior of how the predator eats the prey.

Related Blocks

Note: Using the me block inside delete agent will produce the same behavior as using the delete block, which makes any agent following the instructions delete itself.