Delete Everyone: Difference between revisions

From StarLogo Nova Wiki
No edit summary
(duplicate file already uploaded)
 
(11 intermediate revisions by the same user not shown)
Line 2: Line 2:
<translate>
<translate>


<!--T:11-->
[[Category:Agents]]
[[Category:Agents]]
<section begin=image/>[[File:Delete Everyone Block.png|alt=The Delete Everyone Block|thumb]]<section end=image/>
<section begin=image/>[[File:Delete Everyone Block.png|alt=The Delete Everyone Block|thumb]]<section end=image/><p id="tooltip">Deletes everyone including itself. *The World cannot delete itself.</p>
 
<!--T:21-->
<section begin=name/>'''<code>delete everyone</code>'''<section end=name/> is a [[Special:MyLanguage/Code Block|code block]] part of the [[Special:MyLanguage/Agent|agents]] drawer.
<section begin=name/>'''<code>delete everyone</code>'''<section end=name/> is a [[Special:MyLanguage/Code Block|code block]] part of the [[Special:MyLanguage/Agent|agents]] drawer.
</translate>


<translate>
==Usage== <!--T:12-->
==Usage==
This is a test
</translate>


<translate>
<!--T:13-->
<p id="tooltip"><code>delete everyone</code> is used to delete all [[Special:MyLanguage/Agent|agent]]s from [[Special:MyLanguage/Spaceland|Spaceland]].</p>
<code>delete everyone</code> is used to delete all [[Special:MyLanguage/Agent|agent]]s from [[Special:MyLanguage/Spaceland|Spaceland]].
</translate>


<translate>
==Syntax== <!--T:14-->
===Syntax===
</translate>


<translate>
<!--T:15-->
<code>(in reference to every agent) delete everyone</code>
<code>(in reference to every agent) delete everyone</code>
</translate>


<translate>
==Example== <!--T:22-->
==Nuances==
 
</translate>
<!--T:23-->
[[File:delete_everyone_example.gif|alt=Delete Everyone example gif|thumb]]
[[File:create_example.png|alt=Delete Everyone example code|thumb]]
 
<!--T:24-->
Each time that setup is pressed, The World deletes all other agents.  This ensures that each time a new set of agents is created, the population does not continue to increase.  Using the delete everyone block enables the ‘setup’ button replicate the behavior of a project loaded for the first time.
 
==Nuances== <!--T:16-->


<translate>
<!--T:17-->
Code may be placed after this block as this block can be used to delete all agents under the world [[Special:MyLanguage/Tab|tab]].
Code may be placed after this block as this block can be used to delete all agents under the world [[Special:MyLanguage/Tab|tab]].
</translate>


<translate>
==Related Blocks== <!--T:18-->
==Related Blocks==
 
<!--T:19-->
*<code> [[Special:MyLanguage/Delete|delete]]</code>
 
<!--T:20-->
*<code> [[Special:MyLanguage/Delete Agent|delete agent [_]]]</code>
</translate>
</translate>
*<code><translate>[[Special:MyLanguage/Delete|delete]]</translate></code>
*<code><translate>[[Special:MyLanguage/Delete Agent|delete agent [_]]]</translate></code>

Latest revision as of 15:27, 16 August 2023

Other languages:
The Delete Everyone Block

Deletes everyone including itself. *The World cannot delete itself.

delete everyone is a code block part of the agents drawer.

Usage

delete everyone is used to delete all agents from Spaceland.

Syntax

(in reference to every agent) delete everyone

Example

Delete Everyone example gif
Delete Everyone example code

Each time that setup is pressed, The World deletes all other agents. This ensures that each time a new set of agents is created, the population does not continue to increase. Using the delete everyone block enables the ‘setup’ button replicate the behavior of a project loaded for the first time.

Nuances

Code may be placed after this block as this block can be used to delete all agents under the world tab.

Related Blocks