mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed state machine not running for units
This commit is contained in:
parent
24ada4dab3
commit
ac28bce578
@ -1,4 +1,7 @@
|
||||
class ACE_Medical_StateMachine {
|
||||
list = "allUnits select {local _x}";
|
||||
skipNull = 1;
|
||||
|
||||
class Default {
|
||||
onState = QUOTE(DFUNC(handleStateDefault));
|
||||
class Injury {
|
||||
|
@ -20,7 +20,7 @@ PREP(leavingStateCardiacArrest);
|
||||
PREP(enteredStateFatalInjury);
|
||||
|
||||
PREP(conditionExecutionDeath);
|
||||
PREP(transitionInstantDeathPrevented);
|
||||
PREP(transitionSecondChance);
|
||||
|
||||
PREP(handleStateDefault);
|
||||
PREP(handleStateInjured);
|
||||
|
Loading…
Reference in New Issue
Block a user