Added new unconscious condition for bleeding

This commit is contained in:
Thomas Kooi 2015-01-22 22:25:24 +01:00
parent 8137080bbc
commit e7ebcbe3fb

View File

@ -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);