Fix medical actions in vehicles

This commit is contained in:
icomrade
2014-01-09 01:05:54 -05:00
parent 37fe2e26ca
commit 84ebc488ab
8 changed files with 18 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ private ["_unit"];
_unit = _this select 0;
_unit switchMove "AmovPpneMstpSnonWnonDnon_healed";
if (_unit == player) then {
if ((_unit == player) or (vehicle player != player)) then {
r_player_unconscious = false;
r_player_injured = false;
};

View File

@@ -5,7 +5,7 @@ _array = _this; //_this select 0;
_unit = _array select 0;
_medic = _array select 1;
if (_unit == player) then {
if ((_unit == player) or (vehicle player != player)) then {
r_player_injured = false;
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;
r_player_handler = false;

View File

@@ -5,7 +5,7 @@ _array = _this; //_this select 0;
_unit = _array select 0;
_medic = _array select 1;
if (_unit == player) then {
if ((_unit == player) or (vehicle player != player)) then {
r_fracture_legs = false;
r_fracture_arms = false;
_unit setHit["legs",0];

View File

@@ -5,7 +5,7 @@ _array = _this; //_this select 0;
_unit = _array select 0;
_medic = _array select 1;
if (_unit == player) then {
if ((_unit == player) or (vehicle player != player)) then {
r_player_inpain = false;
R3F_TIRED_Accumulator = 0;
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;