assignAsTurret: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 108357 by R3vo on 2018-06-13T11:51:09Z)
m (template:command argument fix)
Line 12: Line 12:
| unit '''assignAsTurret''' [vehicle, [turretPath]] |= Syntax
| unit '''assignAsTurret''' [vehicle, [turretPath]] |= Syntax


|p1= unit: [[Object]]  |= PARAMETER1
|p1= unit: [[Object]]  |PARAMETER1=  


|p2= [vehicle, turretPath]: [[Array]]  |= PARAMETER2
|p2= [vehicle, turretPath]: [[Array]]  |PARAMETER2=  


|p3= vehicle: [[Object]]  |= PARAMETER3
|p3= vehicle: [[Object]]  |PARAMETER3=  


|p4= [turretPath]: [[Array]] - Array of numbers. |= PARAMETER4
|p4= [turretPath]: [[Array]] - Array of numbers. |PARAMETER4=  


| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  




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


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[assignedVehicleRole]], [[unassignVehicle]], [[turretUnit]], [[moveInTurret]] |= SEEALSO
| [[assignedVehicleRole]], [[unassignVehicle]], [[turretUnit]], [[moveInTurret]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:28, 7 April 2019

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