BIS fnc destroyCity: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 17: | Line 17: | ||
* [[Object]] - position of the object will be used | * [[Object]] - position of the object will be used | ||
* [[String]] - marker name | * [[String]] - marker name | ||
* [[Position]] |= | * [[Position]] |PARAMETER1= | ||
|p2= areaSize: [[Number]] - (Optional, default 1000) area radius |= | |p2= areaSize: [[Number]] - (Optional, default 1000) area radius |PARAMETER2= | ||
|p3= seed: [[Number]] - (Optional, default 1138) destruction's random seed |= | |p3= seed: [[Number]] - (Optional, default 1138) destruction's random seed |PARAMETER3= | ||
|p4= blacklist: [[Array]] - (Optional, default []) array of spared buildings |= | |p4= blacklist: [[Array]] - (Optional, default []) array of spared buildings |PARAMETER4= | ||
| [[Boolean]] - [[true]] when completed |RETURNVALUE= | | [[Boolean]] - [[true]] when completed |RETURNVALUE= | ||
|x1= <code>["destroyBase", 500, 42, [ourHouseInTheMiddleOfTheStreet]] [[call]] [[BIS_fnc_destroyCity]];</code>|= | |x1= <code>["destroyBase", 500, 42, [ourHouseInTheMiddleOfTheStreet]] [[call]] [[BIS_fnc_destroyCity]];</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:29, 7 April 2019
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