mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added a new module option for wind deflection:
*enabled - true/false
This commit is contained in:
@ -28,6 +28,7 @@ _unit = _this select 0;
|
||||
_bullet = _this select 6;
|
||||
|
||||
if (!hasInterface) exitWith {false};
|
||||
if (!(GVAR(enabled))) exitWith {false};
|
||||
if (!(_bullet isKindOf "BulletBase")) exitWith {false};
|
||||
if (_unit distance ACE_player > GVAR(simulationRadius)) exitWith {false};
|
||||
if (!([_unit] call EFUNC(common,isPlayer))) exitWith {false};
|
||||
|
Reference in New Issue
Block a user