{"name":"moveInCommander","title":"moveInCommander","type":"command","url":"https://community.bistudio.com/wiki/moveInCommander","revid":352017,"updated":"2024-02-01T23:24:06Z","groups":["Unit Control"],"status":"ok","games":{"ofp":"1.00","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.00","arma3_since":"0.50","locality":{"argument":"local","effect":"global"},"description":"Move soldier into vehicle commander position (Immediate, no animation).\n\n> [!IMPORTANT]\n> 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.","syntaxes":[{"syntax":"unitName moveInCommander vehicle","params":[{"name":"unitName","type":"Object","type_expr":"Object"},{"name":"vehicle","type":"Object","type_expr":"Object"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unitName"},"right":{"text":"vehicle"}}],"examples":[{"code":["_soldierOne moveInCommander _tankOne;"]}],"see_also":["moveInAny","moveInCargo","moveInDriver","moveInGunner","moveInTurret","assignAsCargo","assignAsCommander","assignAsDriver","assignAsGunner"],"notes":[{"user":"Ceeeb","date":"2007-02-02T07:01:00Z","text":"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."}]}