isAllowedCrewInImmobile: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.08 |branch= dev |arg= global |gr1= Object Manipulation |descr= Whether or not units can be in a vehicle with broken tracks/whe...")
 
m (Some wiki formatting)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.08
|version1= 2.08
|branch= dev
|arg= global
|arg= global


Line 17: 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