{"name":"orderGetIn","title":"orderGetIn","type":"command","url":"https://community.bistudio.com/wiki/orderGetIn","revid":377143,"updated":"2026-01-01T10:31:44Z","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":"Force all units in the array to get in or out of their assigned vehicles. Units must be assigned to a vehicle before this command will do anything.\n\n> [!NOTE]\n> See AI Group Vehicle Management for more information.","syntaxes":[{"syntax":"unitArray orderGetIn order","params":[{"name":"unitArray","type":"Array of Objects","type_expr":"Array<Object>"},{"name":"order","type":"Boolean","type_expr":"Boolean"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unitArray"},"right":{"text":"order"}}],"examples":[{"code":["[_unitOne, _unitTwo] orderGetIn true;"]},{"code":["[_unitOne, _unitTwo] orderGetIn false;"]}],"see_also":["allowGetIn","addVehicle","assignAsCargo","assignAsCommander","assignAsDriver","assignAsGunner"]}