BIS fnc destroyCity: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[^ ]+\] (call|spawn) ('''|\[\[)BI(N|S)_fnc_[a-zA-Z0-9_]+('''|\]\]));? \| *p1 *=" to " |s1=$1 |p1=") |
||
Line 13: | Line 13: | ||
| Destroys building in given area based on input seed. | | Destroys building in given area based on input seed. | ||
| [position, ''areaSize'', ''seed'', ''blacklist''] call [[BIS_fnc_destroyCity]] | |s1=[position, ''areaSize'', ''seed'', ''blacklist''] call [[BIS_fnc_destroyCity]] | ||
|p1= position: [[Object]], [[String]] or [[Position]] - center of the area: | |p1= position: [[Object]], [[String]] or [[Position]] - center of the area: |
Revision as of 19:29, 12 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Environment
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