HuntIR - Register as a feature cam (block NVG border) (#6138)

Fix #6135
This commit is contained in:
PabstMirror 2018-02-09 20:31:38 -06:00 committed by jonpas
parent e73a2ddec0
commit 2b89b3102b
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@
!(
isNull curatorCamera && // Curator
{!GETMVAR(EGVAR(spectator,isSet),false)} && // ACE Spectator
{GETMVAR(EGVAR(huntir,stop),true)} && // ACE Hunt IR
{isNull GETMVAR(BIS_EGSpectatorCamera_camera, objNull)} && // BIS Nexus Spectator
{isNull GETUVAR(BIS_fnc_arsenal_cam, objNull)} && // Arsenal camera
{isNull GETMVAR(BIS_fnc_establishingShot_fakeUAV, objNull)} && // Establishing shot camera

View File

@ -55,7 +55,7 @@ GVAR(pphandle) ppEffectAdjust [1, 1, 0, [0.01, 0.02, 0.04, 0.01], [0.87, 1.08, 1
GVAR(pphandle) ppEffectCommit 0;
GVAR(pphandle) ppEffectEnable true;
GVAR(stop) = false;
GVAR(stop) = false; // Var also used in ace_common_fnc_isFeatureCameraActive
call FUNC(huntirCompass);
GVAR(no_cams) = ACE_player nearEntities ["ACE_HuntIR", HUNTIR_MAX_TRANSMISSION_RANGE];