{"name":"allUnitsUAV","operator":null,"title":"allUnitsUAV","type":"command","url":"https://community.bistudio.com/wiki/allUnitsUAV","revid":364114,"updated":"2024-05-04T22:05:25Z","groups":["Remote Control","Object Detection"],"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":null,"effect":null,"server_exec":false},"exec":null,"description":"Return a list of all UAV vehicles.","syntaxes":[{"syntax":"allUnitsUAV","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"Array of Objects","types":["Array","Object"],"description":"array of UAV vehicles","text":"Array of Objects - array of UAV vehicles"},"form":"nullary","operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\nhint format [\"Number of UAV(s) on the map: %1\", count allUnitsUAV];\n```","code":["hint format [\"Number of UAV(s) on the map: %1\", count allUnitsUAV];"]},{"text":"```sqf\n{ _x setDamage 1 } forEach allUnitsUAV;\n```","code":["{ _x setDamage 1 } forEach allUnitsUAV;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["unitIsUAV","allCurators","allGroups","allDead","playableUnits","switchableUnits","vehicles","allDeadMen","agents","showUAVFeed","shownUAVFeed","getConnectedUAV","UAVControl","connectTerminalToUAV","isUAVConnected"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Detection","Command Group: Remote Control","Introduced with Arma 3 version 0.76","Scripting Commands"]}