mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Push #941 - Painkiller
This commit is contained in:
@@ -34,7 +34,11 @@ if(_num_removed == 1) then {
|
|||||||
|
|
||||||
sleep 1;
|
sleep 1;
|
||||||
//clear the healed player's vision
|
//clear the healed player's vision
|
||||||
//["usecPainK",[_unit,player]] call broadcastRpcCallAll;
|
|
||||||
usecPainK = [_unit,player];
|
usecPainK = [_unit,player];
|
||||||
publicVariable "usecPainK";
|
publicVariable "usecPainK";
|
||||||
|
|
||||||
|
/* WIP - PVS/PVC - Skaronator
|
||||||
|
PVDZE_send = [_unit,"Painkiller",[_unit,player]];
|
||||||
|
publicVariableServer "PVDZE_send";
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ if ((_unit == player) or (vehicle player != player)) then {
|
|||||||
R3F_TIRED_Accumulator = 0;
|
R3F_TIRED_Accumulator = 0;
|
||||||
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;
|
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;
|
||||||
};
|
};
|
||||||
|
/* WIP - PVS/PVC - Not anymore used: moved to server_sendToClient.sqf - Skaronator */
|
||||||
if (isServer) then {
|
if (isServer) then {
|
||||||
_unit setVariable["medForceUpdate",true];
|
_unit setVariable["medForceUpdate",true];
|
||||||
};
|
};
|
||||||
@@ -49,8 +49,9 @@ switch (_variable) do {
|
|||||||
};
|
};
|
||||||
|
|
||||||
case "Painkiller": {
|
case "Painkiller": {
|
||||||
PVCDZ_hlt_PainK = _arraytosend;
|
usecPainK = _arraytosend;
|
||||||
_owner publicVariableClient "PVCDZ_hlt_PainK";
|
_owner publicVariableClient "usecPainK";
|
||||||
|
//Don't forget!! Checkout dayz_code\medical\publicEH\medPainkiller.sqf #13
|
||||||
_unit setVariable["medForceUpdate",true];
|
_unit setVariable["medForceUpdate",true];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user