mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Modified cpr condition
This commit is contained in:
@ -248,7 +248,7 @@ class GVAR(Actions) {
|
|||||||
requiredMedic = 0;
|
requiredMedic = 0;
|
||||||
treatmentTime = 15;
|
treatmentTime = 15;
|
||||||
items[] = {};
|
items[] = {};
|
||||||
condition = QUOTE(!(_target call EFUNC(common,isAwake)));
|
condition = QUOTE(!(_target call EFUNC(common,isAwake)) && {!(_target getVariable [QQGVAR(receiveCPR),false])});
|
||||||
callbackSuccess = QFUNC(treatmentCPR);
|
callbackSuccess = QFUNC(treatmentCPR);
|
||||||
callbackFailure = QFUNC(treatmentCPR_failure);
|
callbackFailure = QFUNC(treatmentCPR_failure);
|
||||||
callbackProgress = QFUNC(treatmentCPR_progress);
|
callbackProgress = QFUNC(treatmentCPR_progress);
|
||||||
|
Reference in New Issue
Block a user