allowCrewInImmobile

From Bohemia Interactive Community
Revision as of 10:13, 15 June 2022 by Killzone Kid (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
If true, units can be in a vehicle with broken tracks/wheels but will eject if vehicle is drowning, about to explode or upside down for awhile. Since Arma 3 v2.10 alt syntax privides ability to keep 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:
_vehicle allowCrewInImmobile true;

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
Killzone_Kid - c
Posted on Apr 27, 2015 - 19:52 (UTC)
This will stop AI disembarking when immobile
KK_fnc_allowCrewInImmobile = { _this allowCrewInImmobile true; { _x disableAI "FSM"; _x setBehaviour "CARELESS"; } forEach crew _this; }; //example car call KK_fnc_allowCrewInImmobile;