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 TypeDescription
voidThis function doesn't return anything

Parameters

ParameterTypeDescription
1vec3Centre of the blast.
2floatRadius of the blast, in metres.
3integerDamage dealt to units and vehicles inside the radius. Pass 0 to destroy the buildings only.

Examples

No examples available.


Back to Scripting API