BIS fnc destroyCity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(seed min value)
m (mod fnc, any value under 42 is kept unchanged)
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 -->


<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 02:48, 15 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

Bottom Section