User Tools

Site Tools


4rpl:commands:destroyunit

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:destroyunit [2021/09/13 22:03] – API clarification Grabz4rpl:commands:destroyunit [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 10: Line 10:
 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.+  * 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.   * 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.   * 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.
4rpl/commands/destroyunit.1631570603.txt.gz · Last modified: 2025/02/14 14:56 (external edit)