mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Make use of fnc_setUnconscious
This commit is contained in:
parent
8d22b61a2d
commit
a641a5db8b
@ -185,7 +185,7 @@ if (_selection == "" and
|
||||
)) then {
|
||||
// random chance to kill AI instead of knocking them out
|
||||
if (_unit getVariable [QGVAR(allowUnconscious), ([_unit] call EFUNC(common,isPlayer)) or random 1 > 0.5]) then {
|
||||
hint "unconscious"; // @todo
|
||||
[_unit, true] call FUNC(setUnconscious);
|
||||
} else {
|
||||
_damageReturn = 1;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user