BIS fnc groupVehicles: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " it's" to " it is")
m (Text replacement - "\[\[Category\:Function Group\: Misc(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 34: Line 34:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:groupVehicles}}]]
 
[[Category:Functions|{{uc:groupVehicles}}]]
[[Category:Functions|{{uc:groupVehicles}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:groupVehicles}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:groupVehicles}}]]

Revision as of 10:12, 10 October 2020

Hover & click on the images for description

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 is 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

Notes

Bottom Section