getAllOwnedMines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
<!-- getAllOwnedMines -->
<!-- getAllOwnedMines -->
{{Command|Comments=
{{Command


|A3|= Game
|A3|= Game


|1.62|Game Version (number surrounded by NO SPACES)=
|1.62


|gr1= Mines |GROUP1=
|gr1= Mines




| Gets all mine objects this unit has ownership over. |DESCRIPTION=
| Gets all mine objects this unit has ownership over.


| [[getAllOwnedMines]] unit |SYNTAX=
| [[getAllOwnedMines]] unit


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




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


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




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


}}
}}

Revision as of 00:36, 18 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