unitTurret: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) - ([a-z -]+) \|x1=" to "|r1=$1 - $2 |x1=")
Line 15: Line 15:
|p2= gunner: [[Object]]
|p2= gunner: [[Object]]


| [[Array]] - turret path
|r1= [[Array]] - turret path


|x1= <code>_vehicle [[unitTurret]] _gunner;</code>
|x1= <code>_vehicle [[unitTurret]] _gunner;</code>

Revision as of 15:35, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Turrets

Syntax

Syntax:
Syntax needed
Parameters:
vehicle: Object
gunner: Object
Return Value:
Array - turret path

Examples

Example 1:
_vehicle unitTurret _gunner;
Example 2:
vehicle player unitTurret player;

Additional Information

See also:
turretUnitdrivergunnercommandereffectiveCommandercurrentPilotmoveInTurretassignAsTurretassignedVehicleRolelockedTurretisTurnedOut

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