moveInAny: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 13: Line 13:
| 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]]).<br><br>
driver ([[moveInDriver]]) -> commander turret ([[moveInCommander]]) -> gunner turret ([[moveInGunner]]) -> remaining turrets ([[moveInTurret]]) -> cargo ([[moveInCargo]]).<br><br>
'''NOTE''': This command will move player into the [[locked]] vehicle or seat just as well. |= Description
'''NOTE''': This command will move player into the [[locked]] vehicle or seat just as well. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit '''moveInAny''' vehicle |= Syntax
| unit '''moveInAny''' vehicle |SYNTAX=


|p1= unit: [[Object]] |= Parameter 1
|p1= unit: [[Object]] |PARAMETER1=
|p2= vehicle: [[Object]] |= Parameter 2
|p2= vehicle: [[Object]] |PARAMETER2=


| [[Boolean]] - [[true]] on success, [[false]] on failure |= Return value
| [[Boolean]] - [[true]] on success, [[false]] on failure |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[player]] [[moveInAny]] tank;</code> |= Example 1
|x1= <code>[[player]] [[moveInAny]] tank;</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[moveInDriver]], [[moveInCommander]], [[moveInGunner]], [[moveInTurret]], [[moveInCargo]] |= See also
| [[moveInDriver]], [[moveInCommander]], [[moveInGunner]], [[moveInTurret]], [[moveInCargo]] |SEEALSO=


}}
}}

Revision as of 15:43, 7 April 2019

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 command will move player into the locked vehicle or seat just as well.
Groups:
Uncategorised

Syntax

Syntax:
unit moveInAny vehicle
Parameters:
unit: Object
vehicle: Object
Return Value:
Boolean - true on success, false on failure

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