mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added new unconscious condition for bleeding
This commit is contained in:
parent
8137080bbc
commit
e7ebcbe3fb
@ -11,8 +11,6 @@
|
|||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
#include "variable_defines.sqf"
|
#include "variable_defines.sqf"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
GVAR(injuredUnitCollection) = [];
|
GVAR(injuredUnitCollection) = [];
|
||||||
[{
|
[{
|
||||||
{
|
{
|
||||||
@ -39,7 +37,8 @@ GVAR(injuredUnitCollection) = [];
|
|||||||
|
|
||||||
[
|
[
|
||||||
{(([_this select 0,QGVAR(bloodVolume)] call EFUNC(common,getDefinedVariable)) < 65)},
|
{(([_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 EFUNC(common,registerUnconsciousCondition);
|
||||||
|
|
||||||
call FUNC(handleDisplayEffects);
|
call FUNC(handleDisplayEffects);
|
||||||
|
Loading…
Reference in New Issue
Block a user