mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
parent
1b6b0aaf0b
commit
e8c10f905e
@ -33,7 +33,7 @@ if (_target isKindOf "StaticWeapon") exitWith {
|
|||||||
|
|
||||||
// Units need to be unconscious or limping; Units also need to not be in ragdoll, as that causes desync issues
|
// Units need to be unconscious or limping; Units also need to not be in ragdoll, as that causes desync issues
|
||||||
if (_target isKindOf "CAManBase") exitWith {
|
if (_target isKindOf "CAManBase") exitWith {
|
||||||
!(alive _target != isAwake _target) &&
|
isAwake _target && // not ragdolled
|
||||||
{lifeState _target == "INCAPACITATED" ||
|
{lifeState _target == "INCAPACITATED" ||
|
||||||
{_target getHitPointDamage "HitLegs" >= 0.5}}
|
{_target getHitPointDamage "HitLegs" >= 0.5}}
|
||||||
};
|
};
|
||||||
|
@ -29,7 +29,7 @@ if (_target isKindOf "StaticWeapon") exitWith {
|
|||||||
|
|
||||||
// Units need to be unconscious or limping; Units also need to not be in ragdoll, as that causes desync issues
|
// Units need to be unconscious or limping; Units also need to not be in ragdoll, as that causes desync issues
|
||||||
if (_target isKindOf "CAManBase") exitWith {
|
if (_target isKindOf "CAManBase") exitWith {
|
||||||
!(alive _target != isAwake _target) &&
|
isAwake _target && // not ragdolled
|
||||||
{lifeState _target == "INCAPACITATED" ||
|
{lifeState _target == "INCAPACITATED" ||
|
||||||
{_target getHitPointDamage "HitLegs" >= 0.5}}
|
{_target getHitPointDamage "HitLegs" >= 0.5}}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user