RHS Feedback - AFRF
View Issue Details
0002070AFRF[All Projects] Generalpublic2016-04-20 19:422016-06-02 17:46
PR9INICHEK 
reyhard 
noneminoralways
closedno change required 
 
 
No
1.56
No
0002070: Error on function Drag&Drop in BECTI Zerty 1.3.2.0 with RHS
Code from Function Drag&Drop

_acc_idcs = [77016, 77021, 77026];
//--- Where does it fit?
{
  if ((_x select 0) != "") then {
    if (_item in (getArray(configFile >> _config_type >> (_x select 0) >> 'WeaponSlotsInfo' >> 'CowsSlot' >> 'compatibleItems') call CTI_CO_FNC_ArrayToLower)) then {_idcs = _idcs + [_acc_idcs select _forEachIndex]};
  };
} forEach (_gear select 0);


For Vanila Arma 3 it's work cause
compatibleItems[] = {"optic_Nightstalker", "optic_tws", "optic_tws_mg", "optic_NVS", "optic_DMS", "optic_LRPS", "optic_SOS", "optic_MRCO", "optic_Arco", "optic_aco", "optic_ACO_grn", "optic_aco_smg", "optic_ACO_grn_smg", "optic_hamr", "optic_Holosight", "optic_Holosight_smg"};

In RHS:
class compatibleItems {
        rhs_acc_1p29 = 1;
        rhs_acc_1p63 = 1;
        rhs_acc_1p78 = 1;
        rhs_acc_pkas = 1;
        rhs_acc_ekp1 = 1;
        rhs_acc_ekp1b = 1;
        rhs_acc_ekp1c = 1;
        rhs_acc_ekp1d = 1;
        rhs_acc_pso1m2 = 1;
        rhs_acc_pso1m21 = 1;
        rhs_acc_pgo7v = 1;
        rhs_acc_1pn93_1 = 1;
        rhs_acc_1pn93_2 = 1;
    };

How moddified function for work?
No tags attached.
Issue History
2016-04-20 19:42PR9INICHEKNew Issue
2016-06-02 17:39PR9INICHEKNote Added: 0004637
2016-06-02 17:46reyhardStatusnew => closed
2016-06-02 17:46reyhardAssigned To => reyhard
2016-06-02 17:46reyhardResolutionopen => no change required

Notes
(0004637)
PR9INICHEK   
2016-06-02 17:39   
Problem is solved.