BIS fnc groupVehicles: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 13: | Line 13: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|p1= target: [[Object]] or [[Group]] - The unit or group to check, if unit is given it's group is then used|= | |p1= target: [[Object]] or [[Group]] - The unit or group to check, if unit is given it's group is then used|PARAMETER1= | ||
|p2= assignedVeh: [[Boolean]] - If assigned vehicles should also be returned (vehicles that unit's may not be inside of but assigned to)|= | |p2= assignedVeh: [[Boolean]] - If assigned vehicles should also be returned (vehicles that unit's may not be inside of but assigned to)|PARAMETER2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:30, 7 April 2019
Description
- Description:
- Returns all vehicles a group possesses, assigned vehicles can be included.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [target, assignedVeh] call BIS_fnc_groupVehicles
- Parameters:
- target: Object or Group - The unit or group to check, if unit is given it's group is then used
- assignedVeh: Boolean - If assigned vehicles should also be returned (vehicles that unit's may not be inside of but assigned to)
- Return Value:
- 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;
Additional Information
- See also:
- groupcreateVehicle
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note