allowCrewInImmobile
Description
- Description:
 - If true, units will remain in a vehicle with broken tracks/wheels; they will still eject if the vehicle is drowning, about to explode or upside down for a while. The alternative syntax provides the ability to keep the crew in vehicle when it is upside down.
 - Groups:
 - Object Manipulation
 
Syntax
- Syntax:
 - vehicle allowCrewInImmobile allow
 - Parameters:
 - vehicle: Object
 - allow: Boolean
 - Return Value:
 - Nothing
 
Alternative Syntax
- Syntax:
 - vehicle allowCrewInImmobile [brokenWheels, upsideDown]
 - Parameters:
 - vehicle: Object
 - brokenWheels: Boolean - do not auto eject when vehicle has broken wheels
 - upsideDown: Boolean - do not auto eject when vehicle is upside down
 - Return Value:
 - Nothing
 
Examples
- Example 1:
 
Additional Information
- See also:
 - isAllowedCrewInImmobile setUnloadInCombat canMove
 
Notes
- 
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note 
- Posted on Apr 27, 2015 - 19:52 (UTC)
 - This will stop AI disembarking when immobile
 
Categories: 
- Scripting Commands
 - Introduced with Arma 2: Operation Arrowhead version 1.60
 - Arma 2: Operation Arrowhead: New Scripting Commands
 - Arma 2: Operation Arrowhead: Scripting Commands
 - Take On Helicopters: Scripting Commands
 - Arma 3: Scripting Commands
 - Command Group: Object Manipulation
 - Scripting Commands: Global Effect