er2.damageAll 3
Damages every soldier and vehicle inside the radius. Unlike explosion it produces no visual or sound effect, and unlike destroyAll it leaves buildings standing.
Return value
| Return Type | Description |
|---|---|
| void | This function doesn't return anything |
Parameters
| Parameter | Type | Description |
|---|---|---|
| 1 | vec3 | Centre of the damaged area. |
| 2 | float | Radius of the damaged area, in metres. |
| 3 | integer | Damage dealt to every soldier and vehicle inside the radius. |
Examples
No examples available.
