getAllOwnedMines: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " {3,}\|" to " |") |
||
Line 7: | Line 7: | ||
|gr1= Mines | |gr1= Mines | ||
| Gets all mine objects this unit has ownership over. | | Gets all mine objects this unit has ownership over. | ||
Line 14: | Line 13: | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
| [[Array]] of mine object | | [[Array]] of mine object | ||
Line 20: | Line 18: | ||
|x1= <code>_mines = [[getAllOwnedMines]] [[player]];</code> | |x1= <code>_mines = [[getAllOwnedMines]] [[player]];</code> | ||
| [[allMines]], [[createMine]], [[detectedMines]], [[mineActive]], [[removeOwnedMine]], [[addOwnedMine]], [[removeAllOwnedMines]] | | [[allMines]], [[createMine]], [[detectedMines]], [[mineActive]], [[removeOwnedMine]], [[addOwnedMine]], [[removeAllOwnedMines]] |
Revision as of 17:20, 18 January 2021
Description
- Description:
- Gets all mine objects this unit has ownership over.
- Groups:
- Mines
Syntax
- Syntax:
- getAllOwnedMines unit
- Parameters:
- unit: Object
- Return Value:
- Array of mine object
Examples
- Example 1:
_mines = getAllOwnedMines player;
Additional Information
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
[[Category:Introduced with A3 version 1.62]][[ Category: A3: New Scripting Commands | GETALLOWNEDMINES]][[ Category: A3: Scripting Commands | GETALLOWNEDMINES]]