assignAsTurret: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma3 | | arma3 | ||
|0.50 | |0.50 | ||
|gr1= Turrets | |gr1= Turrets | ||
| Assigns the soldier to turret. | | Assigns the soldier to turret. | ||
| unit '''assignAsTurret''' [vehicle, [turretPath]] | | unit '''assignAsTurret''' [vehicle, [turretPath]] | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|p2= [vehicle, turretPath]: [[Array]] | |p2= [vehicle, turretPath]: [[Array]] | ||
|p3= vehicle: [[Object]] | |p3= vehicle: [[Object]] | ||
|p4= [turretPath]: [[Array]] - Array of numbers. | |p4= [turretPath]: [[Array]] - Array of numbers. | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[player]] [[assignAsTurret]] [BIS_vehicle, [0,1] ];</code> | |x1= <code>[[player]] [[assignAsTurret]] [BIS_vehicle, [0,1] ];</code> | ||
| [[assignAsCargo]], [[assignAsDriver]], [[assignAsCommander]], [[assignAsGunner]], [[assignAsTurret]], [[assignAsCargoIndex]], [[assignedVehicleRole]], [[unassignVehicle]], [[turretUnit]], [[moveInTurret]] | | [[assignAsCargo]], [[assignAsDriver]], [[assignAsCommander]], [[assignAsGunner]], [[assignAsTurret]], [[assignAsCargoIndex]], [[assignedVehicleRole]], [[unassignVehicle]], [[turretUnit]], [[moveInTurret]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:03, 18 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