mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix some moved function calls
This commit is contained in:
parent
dbb538dc56
commit
267c0b5c3c
@ -44,7 +44,7 @@ class ACE_Medical_StateMachine {
|
||||
};
|
||||
class Unconscious {
|
||||
onState = QFUNC(handleStateUnconscious);
|
||||
onStateEntered = QUOTE([ARR_2(_this,(true))] call FUNC(setUnconsciousStatemachine));
|
||||
onStateEntered = QUOTE([ARR_2(_this,(true))] call EFUNC(medical,setUnconsciousStatemachine));
|
||||
class DeathAI {
|
||||
targetState = "Dead";
|
||||
condition = QUOTE(!isPlayer _this && {EGVAR(medical,unconsciousConditionAI)});
|
||||
@ -53,7 +53,7 @@ class ACE_Medical_StateMachine {
|
||||
targetState = "Injured";
|
||||
condition = QUOTE(_this call EFUNC(medical_status,hasStableVitals));
|
||||
events[] = {QGVAR(WakeUp)};
|
||||
onTransition = QUOTE([ARR_2(_this,(false))] call FUNC(setUnconsciousStatemachine));
|
||||
onTransition = QUOTE([ARR_2(_this,(false))] call EFUNC(medical,setUnconsciousStatemachine));
|
||||
};
|
||||
class FatalTransitions {
|
||||
targetState = "CardiacArrest";
|
||||
|
@ -89,7 +89,7 @@ private _tourniquets = _unit getVariable [QGVAR(tourniquets), [0,0,0,0,0,0]];
|
||||
_tourniquetPain = _tourniquetPain max (CBA_missionTime - _x - 120) * 0.001;
|
||||
};
|
||||
} forEach _tourniquets;
|
||||
[_unit, _tourniquetPain] call FUNC(adjustPainLevel);
|
||||
[_unit, _tourniquetPain] call EFUNC(medical,adjustPainLevel);
|
||||
|
||||
private _heartRate = [_unit, _deltaT, _syncValues] call FUNC(updateHeartRate);
|
||||
[_unit, _deltaT, _syncValues] call FUNC(updatePainSuppress);
|
||||
|
Loading…
Reference in New Issue
Block a user