Arma 3 Scripting

moveInCommander

  • Local argument
  • Global effect
  • Arma 3 v0.50
  • First in Operation Flashpoint v1.00

Command · Markdown · JSON · 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.