BIS fnc destroyCity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (mod fnc, any value under 42 is kept unchanged)
mNo edit summary
Line 44: Line 44:


[[Category:ArmA 2: Functions|DESTROYCITY}}]]
[[Category:ArmA 2: Functions|DESTROYCITY}}]]
[[Category:Function Group: Environment|destroyCity]]

Revision as of 09:40, 27 October 2011

Hover & click on the images for description

Description

Description:
Destroys building in given area based on input seed.
Groups:
Uncategorised

Syntax

Syntax:
[position,areaSize,seed,blacklist] call BIS_fnc_destroyCity
Parameters:
position: Array (in format position) or Object (object position) or String (marker position)
areaSize (Optional): Number - area diameter (default is 1000)
seed (Optional): Number - random seed (default is 1138)
blacklist (Optional): Array of blacklisted objects (default is an empty array)
Return Value:
Boolean - true when completed

Examples

Example 1:
["destroyBase",500,42,[bis_vila]] call bis_fnc_destroyCity;

Additional Information

See also:
Functions Library

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