moveInAny: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 28: | Line 28: | ||
|x1= <code>[[player]] [[moveInAny]] tank;</code> | |x1= <code>[[player]] [[moveInAny]] tank;</code> | ||
|seealso= [[moveInDriver]] [[moveInCommander]] [[moveInGunner]] [[moveInTurret]] | |seealso= [[moveInDriver]] [[moveInCommander]] [[moveInGunner]] [[moveInTurret]] [[moveInCargo]] | ||
}} | }} |
Revision as of 17:29, 20 January 2022
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