Difference between revisions of "unassignVehicle"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dt class="note">'''\[\[.*\]\]'''" to "<dt class="note">$1")
m (Fix username deletion mistake)
Line 11: Line 11:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Unassigns individual unit from a vehicle, i.e removes [[assignedVehicleRole]] of the unit. If the unit is currently in that vehicle, the group leader will issue an order to disembark. |DESCRIPTION=
+
| Unassigns individual unit from a vehicle, i.e removes [[assignedVehicleRole]] of the unit.
 +
If the unit is currently in that vehicle, the group leader will issue an order to disembark. |DESCRIPTION=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| '''unassignVehicle''' unitName |SYNTAX=
+
| [[unassignVehicle]] unitName |SYNTAX=
  
 
|p1= unitName: [[Object]] |PARAMETER1=
 
|p1= unitName: [[Object]] |PARAMETER1=
Line 27: Line 28:
  
 
| [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]], [[assignAsTurret]], [[assignedVehicle]], [[leaveVehicle]] |SEEALSO=
 
| [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]], [[assignAsTurret]], [[assignedVehicle]], [[leaveVehicle]] |SEEALSO=
 
 
}}
 
}}
  
Line 35: Line 35:
  
 
<dd class="notedate">Posted on August 4, 2006 - 12:05
 
<dd class="notedate">Posted on August 4, 2006 - 12:05
<dt class="note">[[]]<dd class="note">''Notes from before the conversion:''
+
<dt class="note">[[User:Hardrock|hardrock]]
 +
<dd class="note">''Notes from before the conversion:''
  
 
Even though:
 
Even though:
Line 52: Line 53:
  
 
<h3 style="display:none">Bottom Section</h3>
 
<h3 style="display:none">Bottom Section</h3>
 
+
[[Category:Scripting Commands OFP 1.46|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|UNASSIGNVEHICLE]]
+
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|UNASSIGNVEHICLE]]
+
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.46|UNASSIGNVEHICLE]]
+
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|UNASSIGNVEHICLE]]
 
[[Category:Scripting Commands Arma 2|UNASSIGNVEHICLE]]
 
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_Vehicle_Assignment|{{uc:{{PAGENAME}}}}]]
 
 
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{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}}}}]]
 +
[[Category:Command Group: Unit Control|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Command Group: Vehicle Assignment|{{uc:{{PAGENAME}}}}]]

Revision as of 18:49, 19 May 2020

Hover & click on the images for description

Description

Description:
Unassigns individual unit from a vehicle, i.e removes assignedVehicleRole of the unit. If the unit is currently in that vehicle, the group leader will issue an order to disembark.
Groups:
Uncategorised

Syntax

Syntax:
unassignVehicle unitName
Parameters:
unitName: Object
Return Value:
Nothing

Examples

Example 1:
unassignVehicle player;
Example 2:
{ unassignVehicle _x } forEach crew _vehiclename; Will make all the occupants of a vehicle disembark

Additional Information

See also:
assignAsCargoassignAsCommanderassignAsDriverassignAsGunnerassignAsTurretassignedVehicleleaveVehicle

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

Posted on August 4, 2006 - 12:05
hardrock
Notes from before the conversion: Even though: {unassignVehicle _x} forEach crew vehiclename will make all the occupants of a vehicle disembark, if they are the original crew of the vehicle then they will just get back in again. To prevent this happening also use allowGetIn as in the example below: {unassignVehicle _x} forEach crew vehiclename; crew vehiclename allowGetIn false

Bottom Section