mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Clarify the maximumCardiacArrestTime
setting
This commit is contained in:
parent
27728172ed
commit
24ada4dab3
@ -51,9 +51,9 @@ GVAR(STATE_MACHINE) = (configFile >> "ACE_Medical_StateMachine") call CBA_statem
|
||||
] call CBA_Settings_fnc_init;
|
||||
|
||||
[
|
||||
QGVAR(maximumCardiacArrestTime),
|
||||
QGVAR(cardiacArrestTime),
|
||||
"SLIDER",
|
||||
["Maximum Cardiac Arrest Time", "Sets the maximum amount of time a unit can stay in cardiac arrest before dying."], //@todo
|
||||
["Cardiac Arrest Time", "Sets how long cardiac arrest will last for (in minutes)."], //@todo
|
||||
"ACE Medical", // @todo
|
||||
[0, 30, 2, 0],
|
||||
true
|
||||
|
@ -15,4 +15,4 @@ params ["_unit"];
|
||||
|
||||
private _startTime = _unit getVariable [QGVAR(cardiacArrestStart), CBA_missionTime];
|
||||
|
||||
(CBA_missionTime - _startTime) > (GVAR(maximumCardiacArrestTime) * 60)
|
||||
(CBA_missionTime - _startTime) > (GVAR(cardiacArrestTime) * 60)
|
||||
|
Loading…
Reference in New Issue
Block a user