Skip to content

Commit

Permalink
Stop rope attaching (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
BroBeansCPG committed Jan 17, 2022
1 parent 7745c42 commit 1196288
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions addons/uh60_misc/functions/fnc_attachCRRC.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ if (!isNil "_attachedBoat") exitWith {
if (count (crew _boat) > 0) exitWith {hint "Boat is not empty"};
_boat lock true;
_boat attachTo [_helicopter, [0,1.5,-0.85]];
_boat enableRopeAttach false;
_helicopter setVariable ["vtx_crrc_attached", _boat, true];
1 change: 1 addition & 0 deletions addons/uh60_misc/functions/fnc_perFrame.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ if (!isNil "_attachedBoat") then {
_attachedBoat lock false;
_attachedBoat setVelocity (velocity _vehicle);
_vehicle setVariable ["vtx_crrc_attached", nil, true];
_attachedBoat enableRopeAttach true;
};
};

0 comments on commit 1196288

Please sign in to comment.