Arma 3 Scripting

allowCrewInImmobile

  • Local argument
  • Global effect
  • Arma 3 v0.50
  • First in Arma 2: Operation Arrowhead v1.60

Command · Markdown · JSON · original wiki page

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.

Syntax

Syntax 1

vehicle allowCrewInImmobile allow

Parameters:

Returns: Nothing

Syntax 2

since arma3 2.10

vehicle allowCrewInImmobile [brokenWheels, upsideDown]

Parameters:

Returns: Nothing

Examples

Example 1

_vehicle allowCrewInImmobile true;

See also

isAllowedCrewInImmobile · setUnloadInCombat · canMove

Community notes