er2.destroyAll 1
Destroys all DestructableBuilding props within radius, including buildings not currently in view. Optionally kills units and explode vehicles.
Return value
| Return Type | Description |
|---|---|
| void | This function doesn't return anything |
Parameters
| Parameter | Type | Description |
|---|---|---|
| 1 | vec3 | Hypocenter |
| 2 | float | Radious of the destruction |
| 3 | bool | If true, kills units and explode vehicled. Default: False |
Examples
No examples available.
