mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix AI can get to CA from injured
This commit is contained in:
parent
f86420c0d7
commit
fe16b72837
@ -88,6 +88,10 @@ class ACE_Medical_StateMachine {
|
||||
class CardiacArrest {
|
||||
onStateEntered = QUOTE(DFUNC(enteredStateCardiacArrest));
|
||||
onStateLeaving = QUOTE(DFUNC(leftStateCardiacArrest));
|
||||
class DeathAI {
|
||||
targetState = "Dead";
|
||||
condition = QUOTE(!isPlayer _this && {GVAR(fatalInjuryConditionAI)});
|
||||
};
|
||||
class Timeout {
|
||||
targetState = "Dead";
|
||||
condition = QUOTE(DFUNC(conditionCardiacArrestTimer));
|
||||
|
Loading…
Reference in New Issue
Block a user