mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Connect Zeus module to Frag
This commit is contained in:
parent
9c0478ddfd
commit
375c81d9b0
@ -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);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user