{"name":"BIS_fnc_groupVehicles","title":"BIS fnc groupVehicles","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_groupVehicles","revid":327945,"updated":"2022-07-13T12:50:35Z","groups":["Vehicles"],"status":"ok","games":{"arma3":"0.76"},"since":"arma3 0.76","arma3_since":"0.76","description":"Returns all vehicles a group possesses, assigned vehicles can be included.","syntaxes":[{"syntax":"[target, assignedVeh] call BIS_fnc_groupVehicles","params":[{"name":"target","type":"Object or Group","description":"the unit or group to check, if unit is given it is group is then used","type_expr":"Object | Group"},{"name":"assignedVeh","type":"Boolean","description":"if assigned vehicles should also be returned (vehicles that unit's may not be inside of but assigned to)","type_expr":"Boolean"}],"returns":{"type":"Array","type_expr":"Array","description":"list of all vehicles in control/assigned to the group, empty if group has none"}}],"examples":[{"code":["[group player, true] call BIS_fnc_groupVehicles;"]}],"see_also":["group","createVehicle"]}