turretUnit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "v1\.57\.[0-9]{6}" to "v1.58")
Line 7: Line 7:
|gr1= Turrets
|gr1= Turrets


| Returns the unit in the vehicle turret. Driver turret <tt>[-1]</tt> is supported since Arma 3 v1.57.135045. To find turret path of known unit see [[unitTurret]]
| Returns the unit in the vehicle turret. Driver turret <tt>[-1]</tt> is supported since Arma 3 v1.58. To find turret path of known unit see [[unitTurret]]


| vehicle '''turretUnit''' turretpath
| vehicle '''turretUnit''' turretpath

Revision as of 10:21, 3 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Turrets

Syntax

Syntax:
Syntax needed
Parameters:
vehicle: Object
turretpath: Array
Return Value:
Return value needed

Examples

Example 1:
_vehicle turretUnit _thisTurret;
Example 2:
vehicle player turretUnit [0];

Additional Information

See also:
unitTurretdrivergunnercommandereffectiveCommandercurrentPilotmoveInTurretassignAsTurretassignedVehicleRolelockedTurretisTurnedOut

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