er2.destroyAll 1

Destroys all DestructableBuilding props within radius, including buildings not currently in view. Optionally kills units and explode vehicles.


Return value

Return TypeDescription
voidThis function doesn't return anything

Parameters

ParameterTypeDescription
1vec3Hypocenter
2floatRadious of the destruction
3boolIf true, kills units and explode vehicled. Default: False

Examples

No examples available.


Back to Scripting API