assignAsTurret: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (add command groups Unit Control, Vehicle Assignment; add See Also)
m (example)
Line 23: Line 23:




|x1= <code>
|x1= <code>[[player]] [[assignAsTurret]] [BIS_vehicle, [0,1] ];</code>|= EXAMPLE1  
</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 12:51, 13 June 2018

Hover & click on the images for description

Description

Description:
Assigns the soldier to turret.
Groups:
Uncategorised

Syntax

Syntax:
unit assignAsTurret [vehicle, [turretPath]]
Parameters:
unit: Object
[vehicle, turretPath]: Array
vehicle: Object
[turretPath]: Array - Array of numbers.
Return Value:
Nothing

Examples

Example 1:
player assignAsTurret [BIS_vehicle, [0,1] ];

Additional Information

See also:
assignedVehicleRoleunassignVehicleturretUnitmoveInTurret

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

Notes

Bottom Section