{"name":"mineDetectedBy","title":"mineDetectedBy","type":"command","url":"https://community.bistudio.com/wiki/mineDetectedBy","revid":378787,"updated":"2026-06-05T12:20:54Z","groups":["Mines"],"status":"ok","games":{"arma3":"1.24"},"since":"arma3 1.24","arma3_since":"1.24","description":"Returns true if mine has been detected by a given side","syntaxes":[{"syntax":"mine mineDetectedBy side","params":[{"name":"mine","type":"Object","type_expr":"Object"},{"name":"side","type":"Side","type_expr":"Side"}],"returns":{"type":"Boolean","type_expr":"Boolean"},"form":"binary","left":{"text":"mine"},"right":{"text":"side"}}],"examples":[{"text":"```sqf\nif (_myMine mineDetectedBy opfor) then\n{\n    hint \"Children yearn for the mines\";\n};\n```","code":["if (_myMine mineDetectedBy opfor) then\n{\n\thint \"Children yearn for the mines\";\n};"]}],"see_also":["allMines","detectedMines","createMine","mineActive","revealMine"]}