{"name":"addOwnedMine","operator":null,"title":"addOwnedMine","type":"command","url":"https://community.bistudio.com/wiki/addOwnedMine","revid":376880,"updated":"2025-12-15T16:39:34Z","groups":["Mines"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.62"}],"since":{"game":"arma3","name":"Arma 3","version":"1.62"},"arma3_since":"1.62","branch":null,"locality":{"argument":"global","effect":"local","server_exec":false},"exec":null,"description":"Sets ownership of a remotely detonatable mine to a unit. If the unit is a player, an action that allows the player to detonate the mine is added to the action menu.","syntaxes":[{"syntax":"unit addOwnedMine mine","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"unit: Object"},{"name":"mine","type":"Object","optional":false,"default":null,"description":"the mine object","types":["Object"],"since":null,"text":"mine: Object - the mine object"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"unit","types":["Object"]},"right":{"text":"mine","types":["Object"]}}],"examples":[{"text":"```sqf\nplayer addOwnedMine _superMine;\n```","code":["player addOwnedMine _superMine;"]}],"multiplayer":"Multiple players can own the same mine.","problems":null,"aliases":[],"see_also":["allMines","createMine","detectedMines","mineActive","getAllOwnedMines","removeOwnedMine","removeAllOwnedMines"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Mines","Introduced with Arma 3 version 1.62","Scripting Commands","Scripting Commands: Local Effect"]}