mirror of
https://github.com/acemod/ACE3.git
synced 2025-07-25 21:02:48 +00:00
Remove: pain diagnosis on dead patients
This commit is contained in:
@ -35,10 +35,12 @@ if (_target getvariable[QGVAR(hasLostBlood), 0] > 0) then {
|
||||
_genericMessages pushback LSTRING(noBloodloss);
|
||||
};
|
||||
|
||||
if (_target getvariable[QGVAR(hasPain), false]) then {
|
||||
_genericMessages pushback LSTRING(inPain);
|
||||
} else {
|
||||
_genericMessages pushback LSTRING(noPain);
|
||||
if (alive _target) then {
|
||||
if (_target getvariable[QGVAR(hasPain), false]) then {
|
||||
_genericMessages pushback LSTRING(inPain);
|
||||
} else {
|
||||
_genericMessages pushback LSTRING(noPain);
|
||||
};
|
||||
};
|
||||
|
||||
["displayTextStructured", [_caller], [_genericMessages, 3.0, _caller]] call EFUNC(common,targetEvent);
|
||||
|
Reference in New Issue
Block a user