{"name":"isAllowedCrewInImmobile","operator":null,"title":"isAllowedCrewInImmobile","type":"command","url":"https://community.bistudio.com/wiki/isAllowedCrewInImmobile","revid":309127,"updated":"2022-05-03T11:11:34Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.08"}],"since":{"game":"arma3","name":"Arma 3","version":"2.08"},"arma3_since":"2.08","branch":null,"locality":{"argument":"global","effect":null,"server_exec":false},"exec":null,"description":"Whether or not units can be in a vehicle with broken tracks/wheels.","syntaxes":[{"syntax":"isAllowedCrewInImmobile vehicle","since":null,"effect":null,"exec":null,"params":[{"name":"vehicle","type":"Object","optional":false,"default":null,"description":"transport","types":["Object"],"since":null,"text":"vehicle: Object - transport"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true - allowed, false - not allowed","text":"Boolean - true - allowed, false - not allowed"},"form":"unary","operator":null,"left":null,"right":{"text":"vehicle","types":["Object"]}}],"examples":[{"text":"```sqf\nif !(isAllowedCrewInImmobile _tank) then\n{\n    _tank allowCrewInImmobile true;\n};\n```","code":["if !(isAllowedCrewInImmobile _tank) then\n{\n\t_tank allowCrewInImmobile true;\n};"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["allowCrewInImmobile"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Introduced with Arma 3 version 2.08","Scripting Commands"]}