mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added unconscious state check
This commit is contained in:
parent
008c36ac76
commit
fa7bb5f9c6
@ -23,7 +23,7 @@ if (_local) then {
|
||||
[_unit, true] call FUNC(addToInjuredCollection);
|
||||
};
|
||||
|
||||
if (count (_unit getvariable [QGVAR(unconsciousArguments), []]) >= 7) then {
|
||||
if ((_unit getvariable ["ACE_isUnconscious",false]) && {count (_unit getvariable [QGVAR(unconsciousArguments), []]) >= 7}) then {
|
||||
private "_arguments";
|
||||
_arguments = (_unit getvariable [QGVAR(unconsciousArguments), []]);
|
||||
_arguments set [ 3, time];
|
||||
|
Loading…
Reference in New Issue
Block a user