Arma 3 Scripting

Command in Groups

assignedGroup

Also available as Markdown and JSON, or read the original wiki page.

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.

Syntax

assignedGroup vehicle

Parameters:

Returns: Group

Examples

Example 1

_group = assignedGroup vehicle player;

See also

assignedVehicle · assignedVehicles · addVehicle · assignAsDriver · assignAsCargo · assignAsCommander · assignAsGunner · assignAsTurret · assignAsCargoIndex · unassignVehicle · leaveVehicle · fullCrew