mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Only test the GEOM LOD for visibility
This commit is contained in:
parent
d4eda6d4ec
commit
0f41c5bf13
@ -113,7 +113,7 @@ if (_enabledTagsNearby) then {
|
||||
_x != ACE_player &&
|
||||
{(side group _x) == (side group ACE_player)} &&
|
||||
{GVAR(showNamesForAI) || {[_x] call EFUNC(common,isPlayer)}} &&
|
||||
{lineIntersectsSurfaces [_camPosASL, eyePos _x, ACE_player, vehicle _x] isEqualTo []} &&
|
||||
{lineIntersectsSurfaces [_camPosASL, eyePos _x, ACE_player, _x, true, 1, "GEOM", "NONE"] isEqualTo []} &&
|
||||
{!isObjectHidden _x}
|
||||
}
|
||||
}, missionNamespace, QGVAR(nearMen), 0.5] call EFUNC(common,cachedCall);
|
||||
|
Loading…
Reference in New Issue
Block a user