getAllOwnedMines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (format)
m (template:command argument fix)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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=


|p1= unit: [[Object]] |= Parameter 1
|p1= unit: [[Object]] |PARAMETER1=




| [[Array]] of mine object |= Return Value
| [[Array]] of mine object |RETURNVALUE=


____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_mines = [[getAllOwnedMines]] [[player]];</code> |= Example 1
|x1= <code>_mines = [[getAllOwnedMines]] [[player]];</code> |EXAMPLE1=


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[allMines]], [[createMine]], [[detectedMines]], [[mineActive]], [[removeOwnedMine]], [[addOwnedMine]], [[removeAllOwnedMines]] |= See also
| [[allMines]], [[createMine]], [[detectedMines]], [[mineActive]], [[removeOwnedMine]], [[addOwnedMine]], [[removeAllOwnedMines]] |SEEALSO=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:39, 7 April 2019


-wrong parameter ("A3") defined!-[[:Category:Introduced with A3 version 1.62|1.62]]
Hover & click on the images for description

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

See also:
allMinescreateMinedetectedMinesmineActiveremoveOwnedMineaddOwnedMineremoveAllOwnedMines

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]]

Bottom Section