Arma 3 Scripting

Command in Unit Control

moveInCommander

Also available as Markdown and JSON, or read the original wiki page.

Description

Move soldier into vehicle commander position (Immediate, no animation).

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.

Syntax

unitName moveInCommander vehicle

Parameters:

Returns: Nothing

Examples

Example 1

_soldierOne moveInCommander _tankOne;

See also

moveInAny · moveInCargo · moveInDriver · moveInGunner · moveInTurret · assignAsCargo · assignAsCommander · assignAsDriver · assignAsGunner

Community notes

Ceeeb

In OFP v1.96, the moveIn commands will not trigger an associated getIn event. To ensure the getIn event is fired, use the "getIn Commander" action command.