moveInAny: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
||
Line 14: | Line 14: | ||
'''NOTE''': This command will move player into the [[locked]] vehicle or seat just as well. | '''NOTE''': This command will move player into the [[locked]] vehicle or seat just as well. | ||
|s1= | |s1= unit '''moveInAny''' vehicle | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] |
Revision as of 22:18, 19 June 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 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:
- 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