Skip to content

Commit

Permalink
Use new attchTo syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
DerZade committed May 21, 2021
1 parent 16771ad commit d3e482c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/main/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class CfgPatches
{
units[] = {"GRAD_slingHelmet_WeaponHolder"};
weapons[] = {};
requiredVersion = 2.0;
requiredVersion = 2.01;
requiredAddons[] = {"A3_Weapons_F","ace_common","ace_main","cba_settings","cba_common"};
author = "DerZade";
VERSION_CONFIG;
Expand Down
2 changes: 1 addition & 1 deletion addons/main/functions/misc/fn_EHGetOut.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ if (isNil "_unit" or isNil "_veh") exitWith {["No proper argument(s) given."] ca
private _wh = [_unit] call GRAD_slingHelmet_fnc_weaponHolder;

//attach and unhide the weaponholder (slung helmet)
[_wh, [_unit,[-0.41,0.3,0],"pelvis"]] remoteExec ["attachTo", 0];
[_wh, [_unit,[-0.41,0.3,0],"pelvis", true]] remoteExec ["attachTo", 0];
[_wh, [[1,-0.8,0],[0,0,1]]] remoteExec ["setVectorDirAndUp", 0];
[_wh, false] remoteExec ["hideObjectGlobal", 0];

0 comments on commit d3e482c

Please sign in to comment.