assignAsTurret: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|0.50|Game version=
|0.50


|gr1= Turrets |GROUP1=
|gr1= Turrets


| Assigns the soldier to turret. |DESCRIPTION=
| Assigns the soldier to turret.


| unit '''assignAsTurret''' [vehicle, [turretPath]] |SYNTAX=
| unit '''assignAsTurret''' [vehicle, [turretPath]]


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


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


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


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


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




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




| [[assignAsCargo]], [[assignAsDriver]], [[assignAsCommander]], [[assignAsGunner]], [[assignAsTurret]], [[assignAsCargoIndex]], [[assignedVehicleRole]], [[unassignVehicle]], [[turretUnit]], [[moveInTurret]] |SEEALSO=
| [[assignAsCargo]], [[assignAsDriver]], [[assignAsCommander]], [[assignAsGunner]], [[assignAsTurret]], [[assignAsCargoIndex]], [[assignedVehicleRole]], [[unassignVehicle]], [[turretUnit]], [[moveInTurret]]


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 00:03, 18 January 2021

Hover & click on the images for description

Description

Description:
Assigns the soldier to turret.
Groups:
Turrets

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:
assignAsCargoassignAsDriverassignAsCommanderassignAsGunnerassignAsTurretassignAsCargoIndexassignedVehicleRoleunassignVehicleturretUnitmoveInTurret

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