BIS fnc destroyCity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Changed layout template from Command to Function)
Line 1: Line 1:
{{Command|=
{{Function|=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Destroys building in given area based on input seed.
| Destroys building in given area based on input seed. |=
|=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 27: Line 26:
| [[Boolean]] - true when completed |= RETURNVALUE
| [[Boolean]] - true when completed |= RETURNVALUE


|x1= <code>["destroyBase",500,42,[bis_vila]] call bis_fnc_destroyCity;</code>|= EXAMPLE1
|x1= <code>["destroyBase", 500, 42, [bis_vila]] [[call]] bis_fnc_destroyCity;</code>|= EXAMPLE1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 01:45, 29 May 2014

Hover & click on the images for description

Description

Description:
Destroys building in given area based on input seed.
Execution:
call
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