BIS fnc groupVehicles: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=") |
||
Line 14: | Line 14: | ||
|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) | ||
| [[Array]] - List of all vehicles in control/assigned to the group, empty if group has none | |r1=[[Array]] - List of all vehicles in control/assigned to the group, empty if group has none | ||
|x1= <code><nowiki>[</nowiki>[[group]] [[player]], [[true]]] [[call]] [[BIS_fnc_groupVehicles]];</code> | |x1= <code><nowiki>[</nowiki>[[group]] [[player]], [[true]]] [[call]] [[BIS_fnc_groupVehicles]];</code> |
Revision as of 20:24, 10 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Vehicles
Syntax
- Syntax:
- Syntax needed
- 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