allowCrewInImmobile: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2")
m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=")
Line 14: Line 14:
| If true, units can be in a vehicle with broken tracks/wheels.
| If true, units can be in a vehicle with broken tracks/wheels.


| vehicle '''allowCrewInImmobile''' bool
|s1=  vehicle '''allowCrewInImmobile''' bool


|p1= vehicle: [[Object]]
|p1= vehicle: [[Object]]

Revision as of 23:46, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
vehicle allowCrewInImmobile bool
Parameters:
vehicle: Object
bool: Boolean
Return Value:
Nothing

Examples

Example 1:
_vehicle allowCrewInImmobile true;

Additional Information

See also:
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 April 27, 2015 - 19:52 (UTC)
Killzone Kid
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;