mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
hide laser beam during day
This commit is contained in:
parent
ada62fca7d
commit
b72366f0f6
@ -97,11 +97,13 @@ if (!surfaceIsWater _pL) then {
|
||||
_pL = ASLtoATL _pL;
|
||||
};
|
||||
|
||||
drawLine3D [
|
||||
_p0Pos,
|
||||
_pL,
|
||||
[[1,0,0,1], [0,1,0,1]] select _isGreen
|
||||
];
|
||||
if (call EFUNC(common,ambientBrightness) < 0.2) then {
|
||||
drawLine3D [
|
||||
_p0Pos,
|
||||
_pL,
|
||||
[[1,0,0,1], [0,1,0,1]] select _isGreen
|
||||
];
|
||||
};
|
||||
|
||||
_size = 2 * (_range - (positionCameraToWorld [0,0,0] distance _pL)) / _range;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user