This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| 4rpl:commands:destroyunit [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:destroyunit [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| - | < | + | < |
| + | <= [[4rpl: | ||
| ====== 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' | ||
| ===== Examples ===== | ===== Examples ===== | ||