getAllOwnedMines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> <!-- For example: <dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd> <dt class="note">User:User Name</dt> <dd class="note">This is an example note. It is true and verifiable, and...)
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|A3|= Game
|game1= arma3
 
|version1= 1.62
|1.62


|gr1= Mines
|gr1= Mines


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


| [[getAllOwnedMines]] unit
|s1= [[getAllOwnedMines]] unit


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


| [[Array]] of mine object
|r1= [[Array]] of mine object
 
   
   
|x1= <code>_mines = [[getAllOwnedMines]] [[player]];</code>
|x1= <code>_mines = [[getAllOwnedMines]] [[player]];</code>
Line 20: Line 18:
|seealso= [[allMines]], [[createMine]], [[detectedMines]], [[mineActive]], [[removeOwnedMine]], [[addOwnedMine]], [[removeAllOwnedMines]]
|seealso= [[allMines]], [[createMine]], [[detectedMines]], [[mineActive]], [[removeOwnedMine]], [[addOwnedMine]], [[removeAllOwnedMines]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 18:36, 23 May 2021

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