Category: Objects / Existence
Since engine version: 5.1 OC
Makes an object explode. The explosion will affect landscape and objects and the object including all of its contents is removed. If the object is contained, the explosion will also damage all other objects in that container. The owner of the exploding object is considered to have caused the explosion.
void Explode(int level, bool silent, int damage_level);
- Explosion level. This determines the amount of explosion damage caused and the type of explosion sound played. Up to level 29 the explosion is a Blast1, 30 to 39 is a Blast2, and above is a Blast3.
- [opt] If true, then no sound will be played for the explosion.
- [opt] If specified, then this value overrides the damage that is caused to objects by the explosion.
See notice for RemoveObject.
The first player's highest ranking clonk explodes.