er2.nuke_nofx 2
Destroys every destructible building inside the radius and damages the units and vehicles caught in it, without any visual effect. Use nuke or explosion when the blast should be seen. Buildings outside the player's view are destroyed too, and the work is spread across several frames.
Return value
| Return Type | Description |
|---|---|
| void | This function doesn't return anything |
Parameters
| Parameter | Type | Description |
|---|---|---|
| 1 | vec3 | Centre of the blast. |
| 2 | float | Radius of the blast, in metres. |
| 3 | integer | Damage dealt to units and vehicles inside the radius. Pass 0 to destroy the buildings only. |
Examples
No examples available.
