moveInAny: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ") |
Lou Montana (talk | contribs) m (Add link to AI Group Vehicle Management) |
||
Line 10: | Line 10: | ||
|gr1= Unit Control | |gr1= Unit Control | ||
|descr= 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: | |descr= Moves unit to the first available seat in a vehicle. | ||
driver ([[moveInDriver]]) | {{Feature|informative|See [[AI Group Vehicle Management]] for more information.}} | ||
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:<br> | |||
driver ([[moveInDriver]]) → commander ([[moveInCommander]]) → gunner ([[moveInGunner]]) → turrets ([[moveInTurret]]) → cargo ([[moveInCargo]]). | |||
{{Feature|informative|This command will move player into the [[locked]] vehicle or seat just as well.}} | |||
|s1= unit [[moveInAny]] vehicle | |s1= unit [[moveInAny]] vehicle | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|p2= vehicle: [[Object]] | |p2= vehicle: [[Object]] | ||
Revision as of 23:47, 5 August 2021
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 (moveInCommander) → gunner (moveInGunner) → turrets (moveInTurret) → cargo (moveInCargo). - Groups:
- Unit Control
Syntax
- Syntax:
- unit moveInAny vehicle
- Parameters:
- unit: Object
- vehicle: Object
- Return Value:
- Boolean - true on success, false on failure
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