leaveVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (see also & example formating)
Line 25: Line 25:




|x1= <code>soldierOne leaveVehicle jeepOne</code>|= EXAMPLE1  
|x1= <code>_unit [[leaveVehicle]] _vehicle</code>|= EXAMPLE1  


|x2= <code>groupOne leaveVehicle jeepOne</code>|= EXAMPLE2  
|x2= <code>_grp [[leaveVehicle]] _vehicle</code>|= EXAMPLE2  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[addVehicle]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]], [[assignedVehicle]], [[unassignVehicle]] |= SEEALSO  
| [[addVehicle]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]], [[assignedVehicle]], [[unassignVehicle]], [[doGetOut]], [[commandGetOut]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 14:42, 1 July 2014

Hover & click on the images for description

Description

Description:
Ceases the using of the vehicle by either a unit or a group. It unassigns them from the vehicle.
Groups:
Uncategorised

Syntax

Syntax:
group leaveVehicle vehicle
Parameters:
group: Object or Group
vehicle: Object
Return Value:
Nothing

Examples

Example 1:
_unit leaveVehicle _vehicle
Example 2:
_grp leaveVehicle _vehicle

Additional Information

See also:
addVehicleassignAsCargoassignAsCommanderassignAsDriverassignAsGunnerassignedVehicleunassignVehicledoGetOutcommandGetOut

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 31, 2013
Killzone_Kid
In ArmA 3 this command will not force a player to exit from a vehicle. It will unassign vehicle role for this player.

Bottom Section