{"name":"allowGetIn","title":"allowGetIn","type":"command","url":"https://community.bistudio.com/wiki/allowGetIn","revid":318643,"updated":"2022-05-13T09:21:14Z","groups":["Object Manipulation","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":"global","effect":"global"},"description":"Set if the units given in the list are allowed to enter vehicles.\n\n> [!NOTE]\n> See AI Group Vehicle Management for more information.","syntaxes":[{"syntax":"unitArray allowGetIn allow","params":[{"name":"unitArray","type":"Array of Objects","type_expr":"Array<Object>"},{"name":"allow","type":"Boolean","description":"true allows the units to enter, false denies them","type_expr":"Boolean"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unitArray"},"right":{"text":"allow"}}],"examples":[{"code":["[_soldier1, _soldier2] allowGetIn true;"]}],"see_also":["orderGetIn"]}