BIS fnc destroyCity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function|= " to "{{Function|Comments= ")
m (Text replacement - "\|([0-9]{1}.[0-9]{2})\|\= " to "|$1|Game version= ")
Line 4: Line 4:
| arma2oa |Game name=
| arma2oa |Game name=


|1.56|=
|1.56|Game version=


|eff= global |MPeff= Effects in MP
|eff= global |MPeff= Effects in MP

Revision as of 12:35, 3 September 2019

Hover & click on the images for description

Description

Description:
Destroys building in given area based on input seed.
Execution:
call
Multiplayer:
Server only
Groups:
Uncategorised

Syntax

Syntax:
[position, areaSize, seed, blacklist] call BIS_fnc_destroyCity
Parameters:
position: Object, String or Position - center of the area:
areaSize: Number - (Optional, default 1000) area radius
seed: Number - (Optional, default 1138) destruction's random seed
blacklist: Array - (Optional, default []) array of spared buildings
Return Value:
Boolean - true when completed

Examples

Example 1:
["destroyBase", 500, 42, [ourHouseInTheMiddleOfTheStreet]] call BIS_fnc_destroyCity;

Additional Information

See also:
setDamagenearestBuildingbuildingPos

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section