This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:destroyunit [2021/06/21 14:30] – Karsten75 | 4rpl:commands:destroyunit [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 9: | 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 ===== |