moveInAny: Difference between revisions
Jump to navigation
Jump to search
(added category) |
mNo edit summary |
||
Line 19: | Line 19: | ||
|p1= unit: [[Object]] |= Parameter 1 | |p1= unit: [[Object]] |= Parameter 1 | ||
|p2= vehicle: [[Object]] |= Parameter | |p2= vehicle: [[Object]] |= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] ([[Boolean]] since 1.26.890 – whether the command moved the unit or not) |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 16:52, 25 August 2014
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:
- Nothing (Boolean since 1.26.890 – whether the command moved the unit or not)
Examples
Additional Information
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