Delete Agent: Difference between revisions

From StarLogo Nova Wiki
No edit summary
(Marked this version for translation)
Line 8: Line 8:
<section begin="name" /><p id="tooltip">Deletes the specified agent (use "collidee", "nearest", or "my parent" blocks).</p>
<section begin="name" /><p id="tooltip">Deletes the specified agent (use "collidee", "nearest", or "my parent" blocks).</p>


<!--T:17-->
'''<code>delete agent [_]</code>'''<section end="name" /> is a [[Special:MyLanguage/Code Block|code block]] part of the [[Special:MyLanguage/Agent|agents]] drawer.
'''<code>delete agent [_]</code>'''<section end="name" /> is a [[Special:MyLanguage/Code Block|code block]] part of the [[Special:MyLanguage/Agent|agents]] drawer.


Line 15: Line 16:
<code>delete agent [_]</code> is used to delete a specific [[Special:MyLanguage/Agent|agent]] from [[Special:MyLanguage/Spaceland|Spaceland]].
<code>delete agent [_]</code> is used to delete a specific [[Special:MyLanguage/Agent|agent]] from [[Special:MyLanguage/Spaceland|Spaceland]].


==Syntax== <!--T:14-->
<!--T:14-->
==Syntax==
<section begin=image/>[[File:Delete Agent Nums.png|right|alt=The Create Each Do Block|thumb]]<section end=image/>
<section begin=image/>[[File:Delete Agent Nums.png|right|alt=The Create Each Do Block|thumb]]<section end=image/>
Inputs in this block:
Inputs in this block:

Revision as of 14:24, 8 August 2023

Other languages:
The delete agent block

Deletes the specified agent (use "collidee", "nearest", or "my parent" blocks).

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

Usage

delete agent [_] is used to delete a specific agent from Spaceland.

Syntax

The Create Each Do Block

Inputs in this block:

  1. block that represents an agent (e.g. me, my parent or nearest)

delete agent [Special: Agent Reference]

Related Blocks