Delete Everyone: Difference between revisions
(Marked this version for translation) |
(duplicate file already uploaded) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T: | <!--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. | ||
==Usage== <!--T:12--> | |||
<!--T: | |||
<!--T:13--> | |||
<!--T: | <code>delete everyone</code> is used to delete all [[Special:MyLanguage/Agent|agent]]s from [[Special:MyLanguage/Spaceland|Spaceland]]. | ||
==Syntax== <!--T:14--> | |||
<!--T:15--> | |||
<!--T: | |||
<code>(in reference to every agent) delete everyone</code> | <code>(in reference to every agent) delete everyone</code> | ||
< | ==Example== <!--T:22--> | ||
==Nuances== <!--T: | |||
<!--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--> | |||
<!--T:17--> | |||
<!--T: | |||
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]]. | ||
==Related Blocks== <!--T:18--> | |||
==Related Blocks== <!--T: | |||
<!--T:19--> | |||
*<code> [[Special:MyLanguage/Delete|delete]]</code> | |||
<!--T:20--> | |||
*<code> [[Special:MyLanguage/Delete Agent|delete agent [_]]]</code> | |||
</translate> | </translate> | ||
Latest revision as of 15:27, 16 August 2023
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
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.