From e7ebcbe3fb877249d01da9d0e45331e0329fb2f3 Mon Sep 17 00:00:00 2001 From: Thomas Kooi Date: Thu, 22 Jan 2015 22:25:24 +0100 Subject: [PATCH] Added new unconscious condition for bleeding --- addons/medical/XEH_postInit.sqf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/addons/medical/XEH_postInit.sqf b/addons/medical/XEH_postInit.sqf index bd1112c01f..8b60af3557 100644 --- a/addons/medical/XEH_postInit.sqf +++ b/addons/medical/XEH_postInit.sqf @@ -11,8 +11,6 @@ #include "script_component.hpp" #include "variable_defines.sqf" - - GVAR(injuredUnitCollection) = []; [{ { @@ -39,7 +37,8 @@ GVAR(injuredUnitCollection) = []; [ {(([_this select 0,QGVAR(bloodVolume)] call EFUNC(common,getDefinedVariable)) < 65)}, - {(([_this select 0,QGVAR(amountOfPain)] call EFUNC(common,getDefinedVariable)) > 48)} + {(([_this select 0,QGVAR(amountOfPain)] call EFUNC(common,getDefinedVariable)) > 48)}, + {(((_this select 0) call FUNC(getBloodLoss)) > 0.25)} ] call EFUNC(common,registerUnconsciousCondition); call FUNC(handleDisplayEffects);