moveInAny: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(mp arguments (although global argument is supported, command may fail in some cases. Local argument never fails))
(note on locked vehicles)
Line 12: Line 12:


| Moves unit to the first available seat in a vehicle. The order of priorities is the same order used in squad command when you order subordinates to get in vehicle to any position and is the same order used in Zeus when you drag units to a vehicle. <br><br>Seat assignment seems to use the following priority logic:  
| Moves unit to the first available seat in a vehicle. The order of priorities is the same order used in squad command when you order subordinates to get in vehicle to any position and is the same order used in Zeus when you drag units to a vehicle. <br><br>Seat assignment seems to use the following priority logic:  
driver ([[moveInDriver]]) -> commander turret ([[moveInCommander]]) -> gunner turret ([[moveInGunner]]) -> remaining turrets ([[moveInTurret]]) -> cargo ([[moveInCargo]]).|= Description
driver ([[moveInDriver]]) -> commander turret ([[moveInCommander]]) -> gunner turret ([[moveInGunner]]) -> remaining turrets ([[moveInTurret]]) -> cargo ([[moveInCargo]]).<br><br>
'''NOTE''': This commanded will move player in the [[locked]] vehicle or seat just as well. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 18:00, 23 April 2014

Hover & click on the images for description

Description

Description:
Moves unit to the first available seat in a vehicle. The order of priorities is the same order used in squad command when you order subordinates to get in vehicle to any position and is the same order used in Zeus when you drag units to a vehicle.

Seat assignment seems to use the following priority logic: driver (moveInDriver) -> commander turret (moveInCommander) -> gunner turret (moveInGunner) -> remaining turrets (moveInTurret) -> cargo (moveInCargo).

NOTE: This commanded will move player in the locked vehicle or seat just as well.
Groups:
Uncategorised

Syntax

Syntax:
unit moveInAny vehicle
Parameters:
vehicle: Object
Return Value:
Nothing

Examples

Example 1:
player moveInAny tank;

Additional Information

See also:
moveInDrivermoveInCommandermoveInGunnermoveInTurretmoveInCargo

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