assignedGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma1 |version1= 2.12 |branch=dev |gr1= Groups |descr= Returns Group to which the given vehicle was added last with addVehicle. To update...")
 
(arma1 -> arma3 replacement)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= arma1
|game1= arma3
|version1= 2.12
|version1= 2.12
|branch=dev
|branch=dev

Revision as of 08:10, 1 September 2022

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.12.

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