moveInAny: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Comments" to "|Comments=") |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Important|" to "{{Feature|important|") |
||
(32 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 |= | |game1= arma3 | ||
|version1= 1.18 | |||
| | |arg= global | ||
| | |eff= global | ||
| | |gr1= Unit Control | ||
| Moves unit to the first available seat in | |descr= Moves unit to the first available seat in the specified vehicle. | ||
| unit | 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|important|If the unit is already in a vehicle, nothing will happen. You should use [[moveOut]] to move the unit out of his vehicle before trying to move him into a new (or same) vehicle.}} | |||
{{Feature|informative|This command will move player into the [[locked]] vehicle or seat just as well.}} | |||
| | |s1= unit [[moveInAny]] vehicle | ||
| | |p1= unit: [[Object]] | ||
| [[ | |p2= vehicle: [[Object]] | ||
|r1= [[Boolean]] - [[true]] on success, [[false]] on failure | |||
< | |x1= <sqf>player moveInAny tank;</sqf> | ||
|seealso= [[moveInDriver]] [[moveInCommander]] [[moveInGunner]] [[moveInTurret]] [[moveInCargo]] | |||
}} | |||
[[ | |||
[[ | |||
[[ | |||
[[ |
Latest revision as of 00:24, 2 February 2024
Description
- Description:
- Moves unit to the first available seat in the specified 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
- Example 1:
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