assignAsTurret: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Turrets |GROUP1= | |gr1= Turrets |GROUP1= | ||
| Assigns the soldier to turret. |DESCRIPTION= | | Assigns the soldier to turret. |DESCRIPTION= | ||
| unit '''assignAsTurret''' [vehicle, [turretPath]] |SYNTAX= | | unit '''assignAsTurret''' [vehicle, [turretPath]] |SYNTAX= | ||
Line 27: | Line 24: | ||
|x1= <code>[[player]] [[assignAsTurret]] [BIS_vehicle, [0,1] ];</code>|EXAMPLE1= | |x1= <code>[[player]] [[assignAsTurret]] [BIS_vehicle, [0,1] ];</code>|EXAMPLE1= | ||
| [[assignAsCargo]], [[assignAsDriver]], [[assignAsCommander]], [[assignAsGunner]], [[assignAsTurret]], [[assignAsCargoIndex]], [[assignedVehicleRole]], [[unassignVehicle]], [[turretUnit]], [[moveInTurret]] |SEEALSO= | | [[assignAsCargo]], [[assignAsDriver]], [[assignAsCommander]], [[assignAsGunner]], [[assignAsTurret]], [[assignAsCargoIndex]], [[assignedVehicleRole]], [[unassignVehicle]], [[turretUnit]], [[moveInTurret]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 23:59, 16 January 2021
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