Delete Agent/es: Difference between revisions
No edit summary |
(Updating to match new version of source page) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
<section begin="image" />[[File:EliminarAgente.png|alt=el bloque del agente de eliminación|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> | <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> | ||
Line 10: | Line 12: | ||
<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> | ||
==Sintaxis== | ==Sintaxis== | ||
[[File:Delete Agent Nums Es.png]] | [[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
delete agent [_]
is a code block part of the agents drawer.
Uso
eliminar agente [_]
se utiliza para eliminar un determinado agente de Spaceland.
Sintaxis
eliminar agente [Special: Agent Reference]
Example
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.