Connect Zeus module to Frag

This commit is contained in:
PabstMirror 2015-06-18 22:13:06 -05:00
parent 9c0478ddfd
commit 375c81d9b0
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ if (!alive _round) exitWith {
if((diag_frameno - _firedFrame) > 1) then { //skip if deleted within a single frame
if(_skip == 0) then {
if((_explosive > 0.5 && {_indirectRange >= 4.5} && {_fragPower >= 35}) || {_force == 1} ) then {
[QGVAR(frag_eh), _this] call ace_common_fnc_serverEvent;
[QGVAR(frag_eh), _this] call EFUNC(common,serverEvent);
};
};
};

View File

@ -127,9 +127,9 @@ if (_activated) then {
_projectile setvelocity _velocity;
if (_attach) then {_projectile attachto [_logic,[0,0,_altitude]];};
// Added by ace_zeus for ace_frag compatibility
if (!isnil "ace_frag_fnc_addManualTrack") then {
[_projectile] call ace_frag_fnc_addManualTrack
// Added by ace_zeus for ace_frag compatibility
if (!isnil QEFUNC(frag,addPfhRound)) then {
[ACE_player, _ammo, _projectile] call EFUNC(frag,addPfhRound);
};
//--- Play sound