User Tools

Site Tools


4rpl:commands:destroyunit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:destroyunit [2021/01/08 16:01] – external edit 127.0.0.14rpl:commands:destroyunit [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-<=[[4rpl:start| Index]]+<=[[4rpl:start| Index]]\\ 
 +<= [[4rpl:start#Unit]] 
  
 ====== DestroyUnit ====== ====== DestroyUnit ======
Line 7: Line 9:
 ===== Description ===== ===== Description =====
 Destroys a unit. The three arguments control optional behavior when the unit is destroyed. Destroys a unit. The three arguments control optional behavior when the unit is destroyed.
 +
 +  * suppressEffect - If true, suppress the unit explosion effect and sound.
 +  * userInitiated - If true, will not show up in the destroyed unit timeline on the creeper chart.
 +  * doNotLog - If true, will not show up in the destroyed unit timeline on the creeper chart and will not contribute to the total units destroyed on the player's score at the end of the map.
  
 ===== Examples ===== ===== Examples =====
4rpl/commands/destroyunit.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)