mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
macros
This commit is contained in:
parent
74a6d5875f
commit
a92bdfdb58
@ -19,6 +19,6 @@ _unit = _this select 0;
|
||||
_target = _this select 1;
|
||||
_hitPoint = _this select 2;
|
||||
|
||||
if !([_unit, _target, []] call ace_common_fnc_canInteractWith) exitWith {false};
|
||||
if !([_unit, _target, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||
|
||||
alive _target && {_target getHitPointDamage _hitPoint < 1}
|
||||
|
@ -19,6 +19,6 @@ _unit = _this select 0;
|
||||
_target = _this select 1;
|
||||
_hitPoint = _this select 2;
|
||||
|
||||
if !([_unit, _target, []] call ace_common_fnc_canInteractWith) exitWith {false};
|
||||
if !([_unit, _target, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||
|
||||
alive _target && {_target getHitPointDamage _hitPoint > 0}
|
||||
|
@ -19,6 +19,6 @@ _unit = _this select 0;
|
||||
_target = _this select 1;
|
||||
_hitPoint = _this select 2;
|
||||
|
||||
if !([_unit, _target, []] call ace_common_fnc_canInteractWith) exitWith {false};
|
||||
if !([_unit, _target, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
||||
|
||||
alive _target && {_target getHitPointDamage _hitPoint >= 1}
|
||||
|
Loading…
Reference in New Issue
Block a user