getAllOwnedMines: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}") | Lou Montana (talk | contribs)  m (Text replacement - "_{10,} " to "") | ||
| Line 1: | Line 1: | ||
| <!-- getAllOwnedMines --> | <!-- getAllOwnedMines --> | ||
| {{Command|Comments= | {{Command|Comments= | ||
| |A3|= Game | |A3|= Game | ||
| Line 9: | Line 8: | ||
| |gr1= Mines |GROUP1= | |gr1= Mines |GROUP1= | ||
| | Gets all mine objects this unit has ownership over. |DESCRIPTION= | | Gets all mine objects this unit has ownership over. |DESCRIPTION= | ||
| | [[getAllOwnedMines]] unit |SYNTAX= | | [[getAllOwnedMines]] unit |SYNTAX= | ||
| Line 21: | Line 18: | ||
| | [[Array]] of mine object |RETURNVALUE= | | [[Array]] of mine object |RETURNVALUE= | ||
| |x1= <code>_mines = [[getAllOwnedMines]] [[player]];</code> |EXAMPLE1= | |x1= <code>_mines = [[getAllOwnedMines]] [[player]];</code> |EXAMPLE1= | ||
| | [[allMines]], [[createMine]], [[detectedMines]], [[mineActive]], [[removeOwnedMine]], [[addOwnedMine]], [[removeAllOwnedMines]] |SEEALSO= | | [[allMines]], [[createMine]], [[detectedMines]], [[mineActive]], [[removeOwnedMine]], [[addOwnedMine]], [[removeAllOwnedMines]] |SEEALSO= | ||
| }} | }} | ||
Revision as of 01:12, 17 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]]
