getAllOwnedMines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
mNo edit summary
 
(7 intermediate revisions by one other user not shown)
Line 12: Line 12:
|p1= unit: [[Object]]
|p1= unit: [[Object]]


|r1= [[Array]] of mine object
|r1= [[Array]] of [[Object]]s


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


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

Latest revision as of 11:10, 28 September 2023

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 Objects

Examples

Example 1:
_mines = getAllOwnedMines player;

Additional Information

See also:
allMines createMine detectedMines mineActive removeOwnedMine addOwnedMine removeAllOwnedMines

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