{"name":"BIS_fnc_groupVehicles","operator":null,"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","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":"Returns all vehicles a group possesses, assigned vehicles can be included.","syntaxes":[{"syntax":"[target, assignedVeh] call BIS_fnc_groupVehicles","since":null,"effect":null,"exec":null,"params":[{"name":"target","type":"Object or Group","optional":false,"default":null,"description":"the unit or group to check, if unit is given it is group is then used","types":["Object","Group"],"since":null,"text":"target: Object or Group - the unit or group to check, if unit is given it is group is then used"},{"name":"assignedVeh","type":"Boolean","optional":false,"default":null,"description":"if assigned vehicles should also be returned (vehicles that unit's may not be inside of but assigned to)","types":["Boolean"],"since":null,"text":"assignedVeh: Boolean - if assigned vehicles should also be returned (vehicles that unit's may not be inside of but assigned to)"}],"returns":{"type":"Array","types":["Array"],"description":"list of all vehicles in control/assigned to the group, empty if group has none","text":"Array - list of all vehicles in control/assigned to the group, empty if group has none"}}],"examples":[{"text":"```sqf\n[group player, true] call BIS_fnc_groupVehicles;\n```","code":["[group player, true] call BIS_fnc_groupVehicles;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["group","createVehicle"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Vehicles","Functions","Introduced with Arma 3 version 0.76"],"docblock":null,"filled_from_docblock":[]}