BIS_fnc_groupVehicles

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 0.76
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.76

Description

Description:
Returns all vehicles a group possesses, assigned vehicles can be included.

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

Execution:
call
Multiplayer:
-
See also:
groupcreateVehicle

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section