Skip to content

Commit

Permalink
Merge pull request #1191 from CBATeam/scripted-optics-ppeffect
Browse files Browse the repository at this point in the history
fix scripted optics pip effect
  • Loading branch information
commy2 committed Aug 2, 2019
2 parents b3234ea + c8ebb96 commit 831f738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/optics/fnc_restartCamera.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ if (_reset) then {
GVAR(camera) camSetTarget _unit;
GVAR(camera) camCommit 1;

QGVAR(rendertarget0) setPiPEffect [2, 1.0, 1.0, 1.0, 0.0, [0.0, 1.0, 0.0, 0.25], [1.0, 0.0, 1.0, 1.0], [0.199, 0.587, 0.114, 0.0]];
GVAR(camera) cameraEffect ["INTERNAL", "BACK", QGVAR(rendertarget0)];
QGVAR(rendertarget0) setPiPEffect [0];

INFO("Scripted camera restarted.");
};

0 comments on commit 831f738

Please sign in to comment.