Checks whether a unit is turned out in a vehicle or not.
_unit | Unit to check [Object] |
”true” for turned out or “false” for not turned out [Boolean] Cargo in exposed vehicles are “turned out” if they lack a cargoSoundAttenuation matching index. Do NOT assume that because this function returns false that the unit is generally exposed.
For example, ATVs will return false, even though they are “turned out”.
if ( [player] call CBA_fnc_isTurnedOut ) then { player sideChat "I am turned out!"; };
Nou, courtesy of ACRE project.