getAllOwnedMines: Difference between revisions
m (format)  | 
				m (template:command argument fix)  | 
				||
| Line 9: | Line 9: | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
| Gets all mine objects this unit has ownership over. |=   | | Gets all mine objects this unit has ownership over. |DESCRIPTION=  | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
| [[getAllOwnedMines]] unit |=   | | [[getAllOwnedMines]] unit |SYNTAX=  | ||
|p1= unit: [[Object]] |=   | |p1= unit: [[Object]] |PARAMETER1=  | ||
| [[Array]] of mine object |=   | | [[Array]] of mine object |RETURNVALUE=  | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
|x1= <code>_mines = [[getAllOwnedMines]] [[player]];</code> |=   | |x1= <code>_mines = [[getAllOwnedMines]] [[player]];</code> |EXAMPLE1=  | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
| [[allMines]], [[createMine]], [[detectedMines]], [[mineActive]], [[removeOwnedMine]], [[addOwnedMine]], [[removeAllOwnedMines]] |=   | | [[allMines]], [[createMine]], [[detectedMines]], [[mineActive]], [[removeOwnedMine]], [[addOwnedMine]], [[removeAllOwnedMines]] |SEEALSO=  | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
Revision as of 14:39, 7 April 2019
 
Description
- Description:
 - Gets all mine objects this unit has ownership over.
 - Groups:
 - Uncategorised
 
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]]