Difference between revisions of "unassignVehicle"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:Scripting Commands OFP 1.[4-9]{2}(\|(\{\{uc:\{\{PAGENAME\}\}\}\}|#|[A-Z]+))?\]\] " to "")
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 31: Line 31:
 
|p1= unitName: [[Object]]
 
|p1= unitName: [[Object]]
  
| [[Nothing]]
+
|r1= [[Nothing]]
  
 
|x1= <code>[[unassignVehicle]] [[player]];</code>
 
|x1= <code>[[unassignVehicle]] [[player]];</code>

Revision as of 11:20, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object ManipulationUnit Control

Syntax

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

Examples

Example 1:
unassignVehicle player;
Example 2:
{ unassignVehicle _x } forEach crew _vehiclenNme; Will make all the occupants of a vehicle disembark
Example 3:
{ unassignVehicle _x } forEach crew _vehicleName; crew _vehiclename allowGetIn false; Will make all the occupants of a vehicle disembark and stop them from getting back in

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