assignAsTurret: Difference between revisions
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]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
|p2= [vehicle, turretPath]: [[Array]] |= | |p2= [vehicle, turretPath]: [[Array]] |PARAMETER2= | ||
|p3= vehicle: [[Object]] |= | |p3= vehicle: [[Object]] |PARAMETER3= | ||
|p4= [turretPath]: [[Array]] - Array of numbers. |= | |p4= [turretPath]: [[Array]] - Array of numbers. |PARAMETER4= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[[player]] [[assignAsTurret]] [BIS_vehicle, [0,1] ];</code>|= | |x1= <code>[[player]] [[assignAsTurret]] [BIS_vehicle, [0,1] ];</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[assignedVehicleRole]], [[unassignVehicle]], [[turretUnit]], [[moveInTurret]] |= | | [[assignedVehicleRole]], [[unassignVehicle]], [[turretUnit]], [[moveInTurret]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:28, 7 April 2019
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
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