mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
1649422cbd
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com>
16 lines
493 B
Plaintext
16 lines
493 B
Plaintext
[
|
|
QGVAR(simulateSpO2),
|
|
"CHECKBOX",
|
|
[LSTRING(simulateSpO2_DisplayName), LSTRING(simulateSpO2_Description)],
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
|
true,
|
|
1,
|
|
{
|
|
if (_this) exitWith {}; // skip if true
|
|
{
|
|
_x setVariable [VAR_OXYGEN_DEMAND, 0, true];
|
|
_x setVariable [VAR_SPO2, DEFAULT_SPO2, true];
|
|
} forEach (allUnits select {local _x})
|
|
} // reset oxygen demand on setting change
|
|
] call CBA_fnc_addSetting;
|