{"name":"getConnectedUAV","operator":null,"title":"getConnectedUAV","type":"command","url":"https://community.bistudio.com/wiki/getConnectedUAV","revid":363203,"updated":"2024-03-25T20:22:07Z","groups":["Remote Control"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"0.76"}],"since":{"game":"arma3","name":"Arma 3","version":"0.76"},"arma3_since":"0.76","branch":null,"locality":{"argument":"local","effect":null,"server_exec":false},"exec":null,"description":"Returns UAV/UGV vehicle if person has connection to some UAV. To return the AI unit which player controls, see getConnectedUAVUnit.","syntaxes":[{"syntax":"getConnectedUAV person","since":null,"effect":null,"exec":null,"params":[{"name":"person","type":"Object","optional":false,"default":null,"description":"player controlling UAV/UGV","types":["Object"],"since":null,"text":"person: Object - player controlling UAV/UGV"}],"returns":{"type":"Object","types":["Object"],"description":"the UAV/UGV object or objNull if no UAV is connected or if the connected unit is remote.","text":"Object - the UAV/UGV object or objNull if no UAV is connected or if the connected unit is remote."},"form":"unary","operator":null,"left":null,"right":{"text":"person","types":["Object"]}}],"examples":[{"text":"```sqf\ngetConnectedUAV player;\n```","code":["getConnectedUAV player;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["getConnectedUAVUnit","showUAVFeed","shownUAVFeed","allUnitsUAV","UAVControl","connectTerminalToUAV","isUAVConnected"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Remote Control","Introduced with Arma 3 version 0.76","Scripting Commands"]}