{"name":"getConnectedUAVUnit","title":"getConnectedUAVUnit","type":"command","url":"https://community.bistudio.com/wiki/getConnectedUAVUnit","revid":363204,"updated":"2024-03-25T20:23:08Z","groups":["Remote Control"],"status":"ok","games":{"arma3":"2.08"},"since":"arma3 2.08","arma3_since":"2.08","locality":{"argument":"local"},"description":"Returns UAV/UGV AI unit, which player is controlling. To return UAV vehicle, see getConnectedUAV","syntaxes":[{"syntax":"getConnectedUAVUnit person","params":[{"name":"person","type":"Object","description":"unit controlling the UAV/UGV","type_expr":"Object"}],"returns":{"type":"Object","type_expr":"Object","description":"UAV unit (AI driver or AI gunner) or objNull otherwise including if the connected person is remote"},"form":"unary","right":{"text":"person"}}],"examples":[{"code":["private _playersDrone = getConnectedUAVUnit player;"]}],"see_also":["getConnectedUAV","isUAVConnected"]}