assignedGroup

From Bohemia Interactive Community
Revision as of 16:34, 28 February 2023 by Cat Harsis (talk | contribs) (2.12 released, no longer only dev branch)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns Group to which the given vehicle was added last with addVehicle. To update assignedGroup to the current group, run addVehicle to the current group again.
Groups:
Groups

Syntax

Syntax:
assignedGroup vehicle
Parameters:
vehicle: Object - transport
Return Value:
Group

Examples

Example 1:
_group = assignedGroup vehicle player;

Additional Information

See also:
assignedVehicle assignedVehicles addVehicle assignAsDriver assignAsCargo assignAsCommander assignAsGunner assignAsTurret assignAsCargoIndex unassignVehicle leaveVehicle fullCrew

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