{"name":"connectTerminalToUAV","operator":null,"title":"connectTerminalToUAV","type":"command","url":"https://community.bistudio.com/wiki/connectTerminalToUAV","revid":363209,"updated":"2024-03-25T20:30:02Z","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":"global","effect":"global","server_exec":false},"exec":null,"description":"Connect person with UAV terminal to UAV unit. UAV Terminal item needs to be assigned to GPS slot. In MP the connection is handled locally, therefore it is possible for multiple MP clients to connect to the same UAV. However, each UAV can only have one connection to a terminal per MP client, so if UAV is already connected to another terminal on the same MP client, this new connection will fail.","syntaxes":[{"syntax":"person connectTerminalToUAV uav","since":null,"effect":null,"exec":null,"params":[{"name":"person","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"person: Object"},{"name":"uav","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"uav: Object"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true on success","text":"Boolean - true on success"},"form":"binary","operator":null,"left":{"text":"person","types":["Object"]},"right":{"text":"uav","types":["Object"]}}],"examples":[{"text":"```sqf\nbool = player connectTerminalToUAV uav1;\n```","code":["bool = player connectTerminalToUAV uav1;"]},{"text":"```sqf\nplayer connectTerminalToUAV objNull; //disconnect\n```","code":["player connectTerminalToUAV objNull; //disconnect"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["allUnitsUAV","getConnectedUAV","isUAVConnected","UAVControl","showUAVFeed","shownUAVFeed"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Remote Control","Introduced with Arma 3 version 0.76","Scripting Commands","Scripting Commands: Global Effect"]}