getAllOwnedMines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
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


-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:
Mines

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