leaveVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
(see also)
Line 44: Line 44:
<dd class="notedate">Posted on August 31, 2013
<dd class="notedate">Posted on August 31, 2013
<dt class="note">'''[[User:Killzone_Kid|Killzone_Kid]]'''
<dt class="note">'''[[User:Killzone_Kid|Killzone_Kid]]'''
<dd class="note">In ArmA 3 this command will not force a player to exit from a vehicle. It will unassign vehicle role for this player.
<dd class="note">In ArmA 3 this command will not force a player to exit from a vehicle. It will unassign vehicle role for this player. AI crew however will also disembark.





Revision as of 01:52, 26 September 2015

Hover & click on the images for description

Description

Description:
Ceases the using of the vehicle by a group and unassigns vehicle from the group. If the argument is a single unit, the vehicle will be unassigned from unit's group. After vehicle is unassigned from the group, each individual crew member then unassigned from the vehicle.

In short the command could be hypothetically presented as:
leaveVehicle = un-addVehicle + unassignVehicle forEach crew
Groups:
Uncategorised

Syntax

Syntax:
group leaveVehicle vehicle
Parameters:
group: Group or Object, in which case, object's Group is used
vehicle: Object
Return Value:
Nothing

Examples

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

Additional Information

See also:
addVehicleassignAsCargoassignAsCommanderassignAsDriverassignAsGunnerassignedVehicleunassignVehicledoGetOutcommandGetOutcreateVehicleCrew

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. AI crew however will also disembark.

Bottom Section