Description
Returns all vehicles a group possesses, assigned vehicles can be included.
Syntax
[target, assignedVeh] call BIS_fnc_groupVehicles
Parameters:
target: Object or Group - the unit or group to check, if unit is given it is group is then usedassignedVeh: Boolean - if assigned vehicles should also be returned (vehicles that unit's may not be inside of but assigned to)
Returns: Array - list of all vehicles in control/assigned to the group, empty if group has none
Examples
Example 1
[group player, true] call BIS_fnc_groupVehicles;