isAllowedCrewInImmobile: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|branch= dev " to "")
m (Some wiki formatting)
 
Line 15: Line 15:
|r1= [[Boolean]] - [[true]] - allowed, [[false]] - not allowed
|r1= [[Boolean]] - [[true]] - allowed, [[false]] - not allowed


|x1= <code>_allowed = [[isAllowedCrewInImmobile]] _tank;</code>
|x1= <sqf>
if !(isAllowedCrewInImmobile _tank) then
{
_tank allowCrewInImmobile true;
};
</sqf>


|seealso= [[allowCrewInImmobile]]
|seealso= [[allowCrewInImmobile]]
}}
}}

Latest revision as of 13:11, 3 May 2022

Hover & click on the images for description

Description

Description:
Whether or not units can be in a vehicle with broken tracks/wheels.
Groups:
Object Manipulation

Syntax

Syntax:
isAllowedCrewInImmobile vehicle
Parameters:
vehicle: Object - transport
Return Value:
Boolean - true - allowed, false - not allowed

Examples

Example 1:
if !(isAllowedCrewInImmobile _tank) then { _tank allowCrewInImmobile true; };

Additional Information

See also:
allowCrewInImmobile

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