BIS fnc destroyCity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(seed min value)
Line 39: Line 39:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
<dt class="note">'''[[User:Tom 48 97|tom_48_97]]'''</dt>
<dd class="note"><br>
If you set the seed with a number less than 42, the function will set it to 42, it's the minimal value.<br>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>


<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>


[[Category:ArmA 2: Functions|DESTROYCITY}}]]
[[Category:ArmA 2: Functions|DESTROYCITY}}]]

Revision as of 17:04, 13 December 2010

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

tom_48_97

If you set the seed with a number less than 42, the function will set it to 42, it's the minimal value.

Bottom Section