assignAsGunner: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added: SEE ALSO.)
(added see also)
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| ofp |= Game name
| ofp |Game name=


|1.00|= Game version
|1.00|Game version=


|arg= global |= Arguments in MP
|arg= global |Multiplayer Arguments=


|eff= global |= Effects in MP
|eff= global |Multiplayer Effects=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Assign a unit as gunner of a vehicle. Used together with [[orderGetIn]] to order subordinate units to get in as gunner of a specific vehicle. Before usage of this command a subordinate unit hasn't got the option to get into the gunner place of the vehicle. |= Description
| Assign a unit as gunner of a vehicle. Used together with [[orderGetIn]] to order subordinate units to get in as gunner of a specific vehicle. Before usage of this command a subordinate unit hasn't got the option to get into the gunner place of the vehicle. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| unitName '''assignAsGunner''' vehicleName |= Syntax
| unitName '''assignAsGunner''' vehicleName |SYNTAX=


|p1= unitName: [[Object]] |= Parameter 1
|p1= unitName: [[Object]] |PARAMETER1=


|p2= vehicleName: [[Object]] |= Parameter 2
|p2= vehicleName: [[Object]] |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_soldier1 assignAsGunner _tank
|x1= <pre>_soldier1 assignAsGunner _tank
[_soldier1] orderGetIn true</pre> |= Example 1
[_soldier1] orderGetIn true</pre> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[assignAsCommander]], [[assignAsDriver]], [[assignAsCargo]], [[moveInCargo]], [[moveInCommander]], [[moveInDriver]], [[moveInGunner]], [[moveInTurret]], [[assignedVehicle]], [[unassignVehicle]], [[leaveVehicle]] |= See also
| [[assignAsCommander]], [[assignAsDriver]], [[assignAsCargo]], [[assignAsTurret]], [[assignAsCargoIndex]], [[moveInCargo]], [[moveInCommander]], [[moveInDriver]], [[moveInGunner]], [[moveInTurret]], [[assignedVehicleRole]], [[assignedVehicle]], [[unassignVehicle]], [[leaveVehicle]] |SEEALSO=


}}
}}
Line 41: Line 41:


[[Category:Scripting Commands|ASSIGNASGUNNER]]
[[Category:Scripting Commands|ASSIGNASGUNNER]]
[[Category:Scripting Commands OFP 1.99|ASSIGNASGUNNER]]
[[Category:Scripting Commands OFP 1.96|ASSIGNASGUNNER]]
[[Category:Scripting Commands OFP 1.96|ASSIGNASGUNNER]]
[[Category:Scripting Commands OFP 1.46|ASSIGNASGUNNER]]
[[Category:Scripting Commands OFP 1.46|ASSIGNASGUNNER]]
Line 46: Line 47:
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Vehicle_Assignment|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Vehicle_Assignment|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 16:10, 10 January 2020

Hover & click on the images for description

Description

Description:
Assign a unit as gunner of a vehicle. Used together with orderGetIn to order subordinate units to get in as gunner of a specific vehicle. Before usage of this command a subordinate unit hasn't got the option to get into the gunner place of the vehicle.
Groups:
Uncategorised

Syntax

Syntax:
unitName assignAsGunner vehicleName
Parameters:
unitName: Object
vehicleName: Object
Return Value:
Nothing

Examples

Example 1:
_soldier1 assignAsGunner _tank
[_soldier1] orderGetIn true

Additional Information

See also:
assignAsCommanderassignAsDriverassignAsCargoassignAsTurretassignAsCargoIndexmoveInCargomoveInCommandermoveInDrivermoveInGunnermoveInTurretassignedVehicleRoleassignedVehicleunassignVehicleleaveVehicle

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